Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed WAMP to C:/wamp/... and I would like to have my projects on my second drive, d. I have the following in my vhosts file:

<VirtualHost *:80>
  DocumentRoot "D:/websites/example/public_html"
  ServerName example.local
  ServerAlias www.example.local
  ErrorLog "logs/example.local-error.log"
  CustomLog "logs/example.local-access.log" combined

and added example.local to my hosts file. However the project produces a 403 Forbidden error. Projects inside the default wamp/www/ directory work. Is there something else I need to do?

share|improve this question

closed as off topic by John Gardeniers, mdpc, Iain Dec 16 '12 at 10:18

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 0 down vote accepted
        <Directory "d:/yourpath">
         Order allow,deny
         Allow from all

add that within the VirtualHost tag.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.