introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Access forbidden!



Posted by: xeagle
August 24, 2011 11:31PM
Standard installation of EasyPHP - 5.2.10

What I did is just remove comments from code sample provided for creating virtual host in httpd.conf:

# <VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.localhost
# DocumentRoot "${path}/apache/docs/dummy-host.localhost"
# ServerName dummy-host.localhost
# ServerAlias www.dummy-host.localhost
# ErrorLog "logs/dummy-host.localhost-error.log"
# CustomLog "logs/dummy-host.localhost-access.log" common
# </VirtualHost>

I setup localhost with DocumentRoot different then ${path} and trying to launch local website typing [localhost]. So, it throws Access Forbidden and doesn't work until I add <Directory> configuration to previously configured virtual host with allowing access.

Could <Directory> config be added to code snippet at httpd.conf?
Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.