LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2003, 03:27 PM   #1
cortj
LQ Newbie
 
Registered: Feb 2003
Posts: 13

Rep: Reputation: 0
Lightbulb apache 403 error fix


many have complained that www.mysite.com/~user1
would give them an 403 error even after they had added
UserDir public_html to httpd.conf
and had
chown user1.apache ~user1/public_html
chmod 2770 ~user1/public_html
well you have to go a step further
chown user1.apache /home/user1
chmod 2770 /home/user1
Apache had rights to the public_html dir
but not to the dir that held it

!!!!!!For Security Reasons If I were you I would add
UserDir disable root
after the UserDir public_html statement in your
httpd.conf
This will still allow access to the public_html but will
prevent there from being an www.mysite.com/~root
account forced onto your system!!!!!!!!!!!!!!!!!!!!!!!!
 
  


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 error with Mandrake 10.1 MooCows Linux - Networking 15 03-19-2005 04:50 PM
Apache and cgi 403 Error. tethysgods Linux - Software 2 08-30-2004 09:06 AM
Apache 403 Error?? jlsain Linux - Software 4 05-08-2004 03:45 PM
Apache 403 error with Mandrake 9.0 Skywolf Linux - Newbie 11 07-15-2003 07:46 AM
apache 403 error forbidden? bulliver Linux - General 4 01-31-2003 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration