Hi, I installed Apache 2.2.2 under WinXP. I want to run it locally, to test some scripts and such..
Now, I need to specify a root directory, other than the default one ..\Apache2.2\htdocs
I want to make it for example C:\site
So here are some details from httpd.conf:
Listen 80
ServerName localhost
DocumentRoot "C:/site"
<Directory "C:/site">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html
basically, when I type localhost in a browser I assume it should look for C:\site\index.html , but even with these settings, it still uses the default path and opens the "It works!" page.
Where am I going wrong?
Now, I need to specify a root directory, other than the default one ..\Apache2.2\htdocs
I want to make it for example C:\site
So here are some details from httpd.conf:
Listen 80
ServerName localhost
DocumentRoot "C:/site"
<Directory "C:/site">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html
basically, when I type localhost in a browser I assume it should look for C:\site\index.html , but even with these settings, it still uses the default path and opens the "It works!" page.
Where am I going wrong?