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
https://forums.phpfreaks.com/topic/44237-getting-started/
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
https://forums.phpfreaks.com/topic/44237-getting-started/#findComment-214842
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.