403 Forbidden Error when accessing made it possible for digital host

When accessing a website specified in my neighborhood dev setting, I can not appear to surpass a 403 Forbidden mistake.

Under/ etc/apache2/sites - readily available/ I have actually specified a documents fun.local:

<VirtualHost *:80>
        ServerName fun.local
        DocumentRoot /home/noah/work/fun
        ErrorLog /var/log/apache2/fun-error.log

        <Directory /home/noah/work/fun>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
</VirtualHost>

The the apache mistake log for the website has this mistake:

[Sat Aug 21 13:34:34 2010] [crit] [client 127.0.0.1] (13)Permission denied: /home/noah/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

I am running apache2 and also ubuntu 10.04.

0
2019-05-09 11:32:01
Source Share
Answers: 2

You can make use of apache userdir component to attain this.
See this blog post for information : Apache symlinked to home directory - Permission Errors

0
2019-12-05 02:41:49
Source

Make certain to examine the permissions on that particular directory site. Understand that apache runs as the customer 'www - information' and also it will certainly call for read accessibility to the documents because directory site in order to function.

To examine the approval run from the command line :

ls -al /home/noah/

Note that Apache identifies if a directory site has the ability to be offered by examining the entire course for.htaccess documents. This remains in instance there's a regulation in/ home/noah/. htaccess that claims points need to be refuted, bypassing the details arrangement in your virtualhost documents.

Permitting the www - information customer to read the directory site needs to aid. The various other point you can do is to symlink the/ home/noah/work/ enjoyable directory site right into/ var/www where the apache customer need to be the default proprietor.

Allow me recognize if you require even more information or if you can arrive from below.

0
2019-05-10 07:23:05
Source