httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Wigg <p...@philipwigg.co.uk>
Subject Re: [users@httpd] Help needed to set correct permissions
Date Thu, 04 Feb 2010 14:47:50 GMT
On 4 February 2010 14:34, Perl Whore <whoreperl@gmail.com> wrote:
> I'm still getting the permission error.
>
> [Thu Feb 04 06:47:11 2010] [error] [client 1.2.3.4] (13)Permission
> denied: access to / denied
> [Thu Feb 04 07:29:05 2010] [error] [client 1.2.3.4] (13)Permission
> denied: access to /test.htm denied
> [Thu Feb 04 07:29:08 2010] [error] [client 1.2.3.4] (13)Permission
> denied: access to /favicon.ico denied

The following should work:-

chmod +x /home/somebody
chmod g+rx /home/somebody/www
find /home/somebody/www -type f | xargs chmod 644

I didn't set /home/somebody as executable earlier so maybe that was it.

> Also, I took a look at mod_userdir and it says the URLs will be like
> http://example.com/~user/ which is not what I'm looking to do. My
> users have their own domains.

Fair enough. You could look at mod_vhost alias if you have a lot of
users to set up.

Cheers,
Phil.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message