Hi

Can anyone help with an Apache virtual host issue on Ubuntu 10.10?

I am trying to set up a local virtual host at "/home/stu/www/stu.dev".

I have copied "default" in "/etc/apache2/sites-available" to create "stu.dev" 
then edited it as follows:

<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    serverName stu.dev
    DocumentRoot /home/stu/www/
    <Directory />
        Options FollowSymLinks
        AllowOverride All
    </Directory>
    <Directory /home/stu/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

I have updated the "/etc/hosts" file, run "a2ensite stu.dev" and restarted 
Apache but keep getting a "403 Forbidden" error which states "You don't have 
permission to access / on this server." when I navigate to "http://stu.dev"; in 
Firefox.

I have lots of examples of the following line in "/var/log/apache2/error.log".

"[Thu Mar 24 11:22:45 2011] [crit] [client 127.0.0.1] (13)Permission denied: 
/home/stu/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is 
readable"

It's obviously a problem linked to the ".htaccess" file but I am not sure how 
to 
resolve it?

The "localhost" and "phpmyadmin" pages are working without error.

Cheers

Stu



      
_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to