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
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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.