LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 07-02-2004, 04:54 AM   #1
Mankind75
Member
 
Registered: Apr 2004
Location: Brome, Lower Saxony, Germany
Distribution: Slackware, OpenMandriva
Posts: 71

Rep: Reputation: 18
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?
 
Old 07-02-2004, 07:47 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
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?
 
Old 07-05-2004, 10:13 AM   #3
Mankind75
Member
 
Registered: Apr 2004
Location: Brome, Lower Saxony, Germany
Distribution: Slackware, OpenMandriva
Posts: 71

Original Poster
Rep: Reputation: 18
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?
 
Old 07-05-2004, 10:43 AM   #4
kiwiruss
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
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.
 
Old 07-08-2004, 06:30 AM   #5
Mankind75
Member
 
Registered: Apr 2004
Location: Brome, Lower Saxony, Germany
Distribution: Slackware, OpenMandriva
Posts: 71

Original Poster
Rep: Reputation: 18
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: 403 forbidden johnty01 Linux - Networking 5 04-05-2008 03:20 PM
apache 403 forbidden? wezhousheng Linux - Networking 5 05-13-2005 01:15 AM
Apache 403 Forbidden: where is my 'www' user? guarriman Linux - General 1 01-21-2005 03:57 PM
Apache 403 Forbidden mrmike Linux - Newbie 3 07-10-2004 12:31 PM
Apache 403 Forbidden quozt Linux - Networking 10 02-24-2004 05:59 PM


All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration