LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-13-2005, 10:43 AM   #1
mabus92920
Member
 
Registered: Jan 2005
Posts: 48

Rep: Reputation: 15
need help with httpd


guys.. I want to use "public_html" under my home..the dir is allready there, and I diid a chmod 711 on /home/user and chmod 755 on /home/user/public_html... the thing is I still get this 403 forbidden message.

By the way.. I'm running on a Fedora Core 3, and httpd verison 2.0.52.

How can I fix this error? I've also tried chaingn the <Files... > " thing..
 
Old 04-13-2005, 11:00 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You need to make sure that the userdir section of your httpd.conf is configured to allow access to ~/public_html.
 
Old 04-13-2005, 07:56 PM   #3
mabus92920
Member
 
Registered: Jan 2005
Posts: 48

Original Poster
Rep: Reputation: 15
yes man..thats what I did.. I commented "UserDir disabled" and uncommented "UserDir public_html" allready..is there something else that I need to do after this?
 
Old 04-13-2005, 09:22 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I have the same permissions as you in /home and ~/public_html. What is your index file is it "index.html", coz if its not you may need to add other extensions e.g. index.php for directory indexing. I can't think of anything else that could be wrong.
 
Old 04-13-2005, 11:19 PM   #5
mabus92920
Member
 
Registered: Jan 2005
Posts: 48

Original Poster
Rep: Reputation: 15
i specified the filename..but it didn't work, I just tried phpnfo..

I probably missed something..does the firewall affect that too??? what do you thnk ?

I'll check it agian when I get back home.
 
Old 04-13-2005, 11:32 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Could be a problem with selinux, but I am just speculating. Maybe searching on the Fedora mailing lists or forums will give you a possible solution.

Last edited by reddazz; 04-14-2005 at 03:35 AM.
 
Old 04-14-2005, 01:17 AM   #7
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
maybe a dump answer... but have you restarted httpd?
 
Old 04-14-2005, 09:05 PM   #8
mabus92920
Member
 
Registered: Jan 2005
Posts: 48

Original Poster
Rep: Reputation: 15
dude...I've tried everything you guys told me...711 on /home/user and 755 on /home/user/public_html, ...I also commented out UsirDir public_html.

actually this worked for me on rehdat 9, I don't know whats wrong with this now.

so ..whats another solution?
 
  


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
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 10:31 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
httpd again... lkalman Linux - Software 1 07-06-2003 06:05 PM
httpd-2.0.43-1 pk21 Linux - Software 3 02-20-2003 12:33 PM


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