On 02/03/2011 01:36 PM, Brendan Minish wrote:
> On Which distro?
> Perhaps there's an additional access control system running such as
>> On Thu, 2011-02-03 at 13:23 +0000, Ger Hooton wrote:
>> Hello All,
>> I have configures Apache so the the server users can have their own web
>> pages like http://www.server.ie/~<user>
>> It all works well for everyone except for just one user
>> In the log I see Permission denied: access to /~user denied
>> I have chmod -R 777 [yes, a very bad thing to do] the users home dir for
>> a short time, but that has not solved the problem.
>> Because this works for every other user, I think my Apache config is OK.
>> any ideas?
>> Gerard Hooton.
>> Department of Electrical& Electronic Engineering
>> University College Cork.
>> College Road.
>>>> Tel: +353 21 4902296
I'd check four things
1: Are there any dot files in the users html directory, or in any parent
directory unique to that user. ( this would probably be the users home
directory ). You'd be particularly interested in files beginning with '.ht'.
2: Is SELinux enabled - does disabling it temporarly fix the problem (
Thanks Brendan )?
3: If you su or sudo ( I'm assuming you have root ) to a shell owned by
the apache user, can you navigate to the users home directory, and cat
his/her index.html file? If you can't then it's probably permissions
either unix rwx-style permissions or acls.
4: The error logs.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!