0

That happens when I load the localhost.

This is what is in my apache config file (/etc/apache2/sites-available/default.txt) :

    <Directory /home/matrix001/Public>
   Options +Indexes FollowSymLinks +ExecCGI
    AllowOverride AuthConfig FileInfo
            Order allow,deny
    Allow from all
</Directory>

That is the permission for the folder:

drwxr-xr-x  2 matrix001 matrix001 4096 Aug 25 18:05 Public

Everything seems to be right. So why do I get this error?

ps. I am on linux. I have also tried many of the solutions on the web ..but found nothing that worked

This works:

file:///home/matrix001/Public/index.html

This doesnt:

http://localhost/index.html
Dmitry Makovetskiyd
  • 6,942
  • 32
  • 100
  • 160
  • what's the permissions of the index.html file in `Public`? – Jon Lin Aug 25 '12 at 16:08
  • -rwxr-xr-x 1 matrix001 matrix001 60 Aug 25 18:05 index.html – Dmitry Makovetskiyd Aug 25 '12 at 16:13
  • dammit. I only started learning linux today..should be a simple solution – Dmitry Makovetskiyd Aug 25 '12 at 16:18
  • This isn't a linux issue, apache isn't configured correctly and apache configuration is not always a trivial matter. When you goto `file:///` URI, it isn't going through apache. There's probably some vhost that's setup incorrectly. – Jon Lin Aug 25 '12 at 16:22
  • check out if `matrix001` folder has permission like `-rwxr-xr-x` or not. if not give it. – th1rdey3 Jan 21 '13 at 08:15
  • 1
    @Dimitry Makovetskiyd - Did you ever find a solution to this? I'm having the exact same issue as you on Fedora 18 –  Feb 01 '13 at 09:20
  • possible duplicate of [Error message "Forbidden You don't have permission to access / on this server"](http://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server) – Czar Pino Feb 13 '14 at 08:30

0 Answers0