Jump to content

Getting started


sheppardj

Recommended Posts

I am beginning to work with Apache (initally on Windows XP) and am having a problem setting up my test sites.  Much of my problem I expect is thinking Apache rather than IIS but hopefully someone will walk me through the process of setting up my config file.  The answer is I expect very siple but I lost in a maze of directives and other terms.

 

Using the default setting at installation DocumentRoot  is shown as: "C:/Program Files/Apache Group/Apache/htdocs"

 

I have test sites on another drive at: G:\Stoneyburn, G:\WSomOPC and G:\msnoront for example.

 

How do I configure Apache to serve up the files in these directories?

 

Thanks for you patience

 

Jim

Link to comment
Share on other sites

You will want to use virtual hosts if you have more than one document root. However if G: driver only holds your websites then you should be able to set DocumentRoot to just "G:/"

 

Then when you go to your website you will get a directory listing of all files and folders in the G: drive.

 

However setting up a virtual host for each site would be better.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.