Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-21-2005, 06:16 AM   #1
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
Apache 403 Forbidden: where is my 'www' user?


I installed Apache 2.0.52 on my FC2. It works OK, but
when I try to make a VirtualHost, I get a '403
Forbidden' message.

In addition, I get this error message at 'error_log':
(13)Permission denied: /home/mydomain-com/.htaccess pcfg_openfile: unable to
> check htaccess file, ensure it is readable

I've been recommended to grant 'www' user with read and execute
permissions. But I don't find 'www' user (neither 'apache') within

I installed Apache by using source code, but I did't create
a 'www' user. Any suggestion?

Thank you very much.
Old 01-21-2005, 02:57 PM   #2
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
Look into httpd.conf; which user/group is Apache configured to run as?
Give that user and/or that group read permissions on the virtual host's files (read+execute for directories).

If the user is "root", you should urgently add a www user and group to your system and change httpd.conf accordingly.
If the user is "nobody", you should also do so (but not so urgently ;-)

Give the www user no shell and don't allow him logins.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: 403 forbidden johnty01 Linux - Networking 5 04-05-2008 02:20 PM
apache 403 forbidden? wezhousheng Linux - Networking 5 05-13-2005 12:15 AM
Apache 403 Forbidden mrmike Linux - Newbie 3 07-10-2004 11:31 AM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
Apache 403 Forbidden quozt Linux - Networking 10 02-24-2004 04:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:46 AM.

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
Open Source Consulting | Domain Registration