Page 1 of 1

root folder...

Posted: Fri Apr 15, 2005 8:58 am
by pleigh
why is it that in the httpd.conf of my apache, the default serverroot is "C:/server/Apache2" but i can browse my page when i save inside the "C:/server/Apache2/htdocs"? and another...how can i change the root folder?i tried to modify this --> "C:/server/Apache2" to this --> c:/Inetpub/wwwroot ...but there was an error generated...

Posted: Fri Apr 15, 2005 9:46 am
by timvw
you also need to grant rights for the specific folder...

here's a sample

Code: Select all

<VirtualHost *:80>
  ServerName test
  DocumentRoot &quote;F:/websites/test&quote;
  <Directory &quote;F:/websites/test&quote;>
    AllowOverride All
    Options All
  </Directory>
</Virtualhost>