LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2006, 01:28 PM   #1
mustangfanatic
LQ Newbie
 
Registered: Oct 2004
Location: Michigan
Distribution: SuSe, Fedora Core
Posts: 15

Rep: Reputation: 0
UserDir 403 error with apache


I know this is a vERY common problem but after 3 hours of googling I still can't find a fix. I have two Slackware machines. On my pc I installed apache using a package from linuxpackages.net and everything is working fine. On my server I installed the latest version from source I obtained from Apache's site. For the life of me I cannot get mysite.com/~user to work on the server (works for the pc). What in the world did the precompiled package do to make it work. The two setups are almost identical with the exception one installed from source, the other from package. I have even chmod -R 777 my user's directory and it still doesn't work, so I don't think it can be a permission's problem. I have tried placing an index.html and leaving the public_html folder blank in that user's directory. Here is the attached httpd.conf

http://personalwebs.oakland.edu/~ermcgrat/httpd.conf

And the userdir.conf

http://personalwebs.oakland.edu/~erm...d-userdir.conf

When I added the LoadModule line to my httpd.conf the server will not start and says it is a built-in module. This has to work, I can not think of any alternatives to get around a non-working userdir directive. Any help would be much appreciated! Thanks
 
Old 04-14-2006, 03:11 PM   #2
edavis
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.0
Posts: 8

Rep: Reputation: 0
First off, you have the "Include conf/extra/httpd-userdir.conf" line commented out. So any changes you made to it were ignored anyway. You have the <Directory /home/*/public_html> portion defined twice in your httpd.conf, I'd suggest removing both of them because the httpd-userdir.conf is all you need. Try your hand at fixing that and hopefully something becomes clear as to why it isn't working. The best of luck to you.
 
Old 04-14-2006, 03:32 PM   #3
mustangfanatic
LQ Newbie
 
Registered: Oct 2004
Location: Michigan
Distribution: SuSe, Fedora Core
Posts: 15

Original Poster
Rep: Reputation: 0
Oh man you're a life saver! Thanks so much, I never noticed the Include statements. After uncommenting that line and removing all my UserDir stuff in httpd.conf everything works!
 
  


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 userdir 403 darkinsanity429 Linux - Networking 9 01-11-2005 09:19 AM
apache error, 403 forbidden afrodocter Linux - Software 6 08-09-2004 08:35 PM
Apache 403 Error?? jlsain Linux - Software 4 05-08-2004 03:45 PM
apache 403 error fix cortj Linux - Software 0 02-25-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:50 AM.

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