LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   Apache Webserver 403 Forbidden Errors (User not in apache group?) (http://www.linuxquestions.org/questions/mandriva-30/apache-webserver-403-forbidden-errors-user-not-in-apache-group-200238/)

Mankind75 07-02-2004 04:54 AM

Apache Webserver 403 Forbidden Errors (User not in apache group?)
 
Hi everybody,

I am running a fresh Mandrake 10 installation and I am currently setting up my Apache2 webserver. I am planning to serve files from /webserver and I have changed the Document Root in /etc/http/conf/httpd2.conf accordinly. I also created the directory /webserver (owned by a user called webserver I have created with access set to 777) Still I am getting forbidden errors. Can anyone help?

linuxxed 07-02-2004 07:47 AM

Re: Apache Webserver 403 Forbidden Errors (User not in apache group?)
 
Quote:

Originally posted by Mankind75
Hi everybody,

I am running a fresh Mandrake 10 installation and I am currently setting up my Apache2 webserver. I am planning to serve files from /webserver and I have changed the Document Root in /etc/http/conf/httpd2.conf accordinly. I also created the directory /webserver (owned by a user called webserver I have created with access set to 777) Still I am getting forbidden errors. Can anyone help?

have you checked the permissions from the root directory all the way down to the child? if you're trying to access a directory, have you enabled directory indexing?

Mankind75 07-05-2004 10:13 AM

It was a permissions problem as /home and /home/username didn't have execute permissions and the webserver couldn't enter the directories. A chmod a+x worked fine but another problem has come up. I noticed that with my Mandrake 10 installation the permissions are being reset after a certain amount of time and I would have to reenter them manually. Is there any way to automate this?

kiwiruss 07-05-2004 10:43 AM

check the security
 
I had a similar error after setting up mandrake 10 and specifying Medium security during the install.

It was blocking all http traffic which I had to allow.

Since Mine is behind a smoothwall firewall I'll probably just reinstall mine and leave the mandrake security open.

Mankind75 07-08-2004 06:30 AM

Re: check the security
 
Quote:

Originally posted by kiwiruss
I had a similar error after setting up mandrake 10 and specifying Medium security during the install.
Yep that was the problem. Mandrake runs msec every hour and gets its configuration from
/usr/share/msec/perm.* where the * indicates the security level. (level 5 = paranoid).


All times are GMT -5. The time now is 07:54 PM.