2

I am trying to install a virtual host on zend server ce but get the following error:

Forbidden

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
 </Directory>
</VirtualHost>

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?

1 Answer 1

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .