Koozali.org: home of the SME Server

HTTP error 403

Crome

HTTP error 403
« on: January 13, 2004, 11:10:37 AM »
Since yesterday I'm not able to browse to my primary website on /primary/html. I get HTTP error 403. Something strange happened with some filerights I guess. What can I check to troubleshoot this? Is this purely a filerights issue or what else should I check? How should the filerights look in this directory?

Michiel

Re: HTTP error 403
« Reply #1 on: January 13, 2004, 11:37:56 AM »
Look in /var/log/httpd/error_log and /var/log/messages for clues.

Nick Ramsay

Re: HTTP error 403
« Reply #2 on: January 13, 2004, 11:40:44 AM »
Ownership is admin:shared on all files/dirs.  Rights are 0640

[%sig%]

Crome

Re: HTTP error 403
« Reply #3 on: January 13, 2004, 01:55:23 PM »
Hi,

Thanks for these fast replies.

Meanwhile, I found some time to investigate a little further. I have compared the filerights between the primary and the websites from the ibays (those are still working) and I found out that the rights on the /primary/html dir are as follows:

drwxr-S--- 2 admin shared html

The html directories from the ibays have the following rights:

drwxr-s--- 2 admin shared html

So there seams to be a difference in the set-user-ID setting (capital and small 's'). I have read somewhere that the capital 'S' means that you have read-rights as though you were owner of the directory but you don't have execute rights.

Can this be the problem? If so, what can I do to bring this settings back to small 's'?

Crome

Re: HTTP error 403
« Reply #4 on: January 13, 2004, 05:51:09 PM »
Sorry, Nick,

Doesn't work if I apply the 0640 rights.

Finchwizard

Re: HTTP error 403
« Reply #5 on: January 13, 2004, 11:25:54 PM »
What kinda of things are in the Primary ibay. Have you checked the index file to see if you are the proper permissions for that.

Otherwise like Michiel said before,
Look at

/var/log/httpd/error_log

I think there is a access_log in there as well, but that's from memory, not sure, post a snippet of it here if you don't understand.

Finchwizard

Crome

Re: HTTP error 403
« Reply #6 on: January 13, 2004, 11:43:04 PM »
Topic can be closed. Fixed it with a 'chmod -R 2750 html'.

Thanks for the help!