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 am trying to install a virtual host on zend server ce but get the following error:


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

This is how my virtual host configuration looks like:

<VirtualHost *:80>
 ServerName stage5local
 DocumentRoot K:/stage5/public_html
 <Directory K:/stage5/public_html>
  DirectoryIndex index.php
  AllowOverride All
  Order allow,deny
  Allow from all

I uncommented this line in my httpd.conf:

Include conf/extra/httpd-vhosts.conf

I have added stage5local to my host file. After i did all this I restarted my apache server.

I am running on windows XP.

Any idea's?

Can it be because k:/stage5 is not within my webroot?

share|improve this question

migrated from Oct 24 '10 at 15:15

This question came from our site for computer enthusiasts and power users.

up vote 1 down vote accepted

Can the webserver read K:\stage5\public_html?

Assuming K is NTFS, you can check by:

  • Disable simple file sharing by clicking here
  • Right click on the folder K:\stage5\public_html
  • Go to the Security tab
  • Give the username ZEND SERVER access to read
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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