Page 1 of 1

don't have permission

Posted: Sun Mar 20, 2005 6:41 am
by phpScott
Trying to get the virtual host directive going and getting Forbidden message with my virtual host. Usint Apache 2.0.53 on a windows XP home computer with php 5.0.3

Code: Select all

NameVirtualHost *:80
 <VirtualHost *:80>
DocumentRoot &quote;E:/development/index.html&quote;
ServerName development

# Other directives here

</VirtualHost>

is what I am using
I have set permissions on the development folder to read and write access but it still won't work

The other problem is once I put in my virtualhost I don't have permission to access anything else even in my htdocs folder.
Any and all help is welcome
phpScott

Posted: Sun Mar 20, 2005 10:07 am
by timvw
you need to give permissions then ;)

fe:

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>
or if you have all the vhosts under the same parent-dir, you could grant in the global section permissiosn to f:/websites...

Posted: Sun Mar 20, 2005 11:24 am
by phpScott
thanks, it seems to be working now. Not quite what I want but I can try and figure it from here. Cheers.