Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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>
  ServerAdmin postmaster@example.com
  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
</VirtualHost>

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
add comment

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

Questions on Server Fault are expected to relate to professional 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.

1 Answer

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

add that within the VirtualHost tag.

share|improve this answer
add comment

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