Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-30-2003, 09:47 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Apache 2 + permission problems

I'm a rusty linux user. Once a year or so I get a server set up, it runs fine, then crashes, and then I try to re-learn everything again.

This is one of those times. ;o)

We've reintalled Mandrake on our linux box (version ) and are running Apache 2.0.44

Whenever we try to access a domain pointed at our box, we get this following error:

You don't have permission to access / on this server.
Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk)

I assume I have the folder permissions set up incorrectly and this is where I'm completely lost. What group and users should belong to the folder that is serving out the website? Right now, I have an Apache group with an Apache user, but I'm not sure if that is really doing anything. Permissions are set so that anyone can read the directory.

Or is this an HTTP.config problem?

Any assistance is appreciated!
Old 10-31-2003, 03:26 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It sounds like permissions problems - the user and group that your server runs as is specified in httpd.conf see what they are and make sure they have the relevant permissions on the folders and files of each domain.
Old 11-02-2003, 02:06 PM   #3
LQ Newbie
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Well, I'm looking at httpd.conf and I see no mention of what group or user apache is running as. The Vhosts.conf does show an example of assigning user/groups to IP based virtualhosts, but we're using named virtualhosts.
Old 11-02-2003, 07:55 PM   #4
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62

Rep: Reputation: 16
default i bel is user apache group apache
Old 11-03-2003, 10:06 PM   #5
LQ Newbie
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Well, the folders all belong to the group APACHE. There is no user APACHE, though. Do I need to make a user APACHE?

In the past, i don't remember having to make any of the folders belong to apache, though. Hence my confusion.


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
vsftpd / Apache permission tbarsness Linux - Security 3 04-18-2005 08:50 AM
No permission using Apache sanmartin Linux - Networking 2 09-22-2004 01:48 PM
permission problems (403) with bugzilla using apache ttilt Linux - Networking 2 07-19-2004 04:58 PM
Permission problems in Apache matt3333 Linux - Networking 3 05-02-2003 12:21 AM
apache permission problem Haakon Linux - Newbie 5 12-11-2001 12:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:44 PM.

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