LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need help with httpd (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-httpd-312819/)

mabus92920 04-13-2005 10:43 AM

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..

reddazz 04-13-2005 11:00 AM

You need to make sure that the userdir section of your httpd.conf is configured to allow access to ~/public_html.

mabus92920 04-13-2005 07:56 PM

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?

reddazz 04-13-2005 09:22 PM

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.

mabus92920 04-13-2005 11:19 PM

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.

reddazz 04-13-2005 11:32 PM

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.

trey85stang 04-14-2005 01:17 AM

maybe a dump answer... but have you restarted httpd?

mabus92920 04-14-2005 09:05 PM

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?


All times are GMT -5. The time now is 03:08 AM.