VirtualHost and 403 Forbidden problem with Apache
Posted
by
Joaquín L. Robles
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Joaquín L. Robles
Published on 2011-01-31T04:32:03Z
Indexed on
2011/01/31
7:33 UTC
Read the original article
Hit count: 528
Hi people, I have the exactly same problem as in 403 Forbidden Error when accessing enabled virtual host, but I tried the provided solution and still receiving 403 Forbidden, my site is called project, and it's cofiguration file in /etc/apache2/sites-available is the following:
<VirtualHost *:80>
ServerAdmin webmaster@reweb
ServerName www.online.project.com
ErrorLog /logs/project-errors.log
DocumentRoot /home/joarobles/Zend/workspaces/DefaultWorkspace7/online.project.com.ar/public
<Directory /home/joarobles/Zend/workspaces/DefaultWorkspace7/online.project.com.ar>
Order Deny,Allow
Allow from all
Options Indexes
</Directory>
Tried to change the owner of /home/joarobles/Zend/workspaces/DefaultWorkspace7/online.cobico.com.ar to www:data:www-data with recursion, but still getting this error in project-errors.log:
[Mon Jan 31 01:26:01 2011] [crit] [client 127.0.0.1] (13)Permission denied: /home/joarobles/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Any idea? Thanks!
© Ask Ubuntu or respective owner