don't have permission

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

don't have permission

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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...
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

thanks, it seems to be working now. Not quite what I want but I can try and figure it from here. Cheers.
Post Reply