Jump to content

virtual hosts on windows 7


ToonMariner

Recommended Posts

got a new laptop with win 7 on (having to set permissions all the time for various dirs which is VERY annoying)...

 

Anyway - trying to replicate my environment from my old (virtually deceased) machine...

 

localhost works but my virtual hosts are delivering the

 

403 Forbidden

 

You don't have permission to access / on this server.

 

response.

 

attaching relevant files.

 

if you can spot anything I'd be very grateful...

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/185138-virtual-hosts-on-windows-7/
Share on other sites

<Directory />

    Options FollowSymLinks

    AllowOverride None

    Order deny,allow

    Deny from all

</Directory>

 

Later on you're never allowing access to the folders you set as the vhost roots.

 

<Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost">

Allow from all

</Directory>

 

 

 

By the way, why are you using PHP in CGI mode?  Any reason, or just like to?

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.