Page 1 of 1

Permissions issue on aliased directory

PostPosted: 23. March 2007 20:08
by eaglealan64
I have added an alias in httpd-xamp.conf as follows and restarted Apache.

==================================

Alias /WebRoot "/home/milnea/Data/WebRoot"

<Directory "/home/milnea/Data/WebRoot">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
</Directory>

==================================


but when I try to access http://localhost/WebRoot I get the error:-

You don't have permission to access /WebRoot/ on this server.

I have also tried to access it via http://localhost/WebRoot and http://localhost/WebRoot/index.php5 but still no joy.

The error log shows:-

[Fri Mar 23 18:37:09 2007] [error] [client 127.0.0.1] (13)Permission denied: access to /WebRoot/ denied

What can I check?

Thanks!

Alan

PostPosted: 23. March 2007 20:18
by Wiedmann
(13)Permission denied: access to /WebRoot/ denied

The Apache process have no permission to go to this directory (at least read access).

What can I check?

chmod

PostPosted: 23. March 2007 23:52
by eaglealan64
It's a reasonable thought but even changing the permissions to 777 doesn't help.