Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd June 2006, 06:10
jsabarese jsabarese is offline
Member
 
Join Date: Jun 2006
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default Apache: 403 Forbidden as root@localhost

i've got a fair amount of experience w/ httpd.conf from WinXP but here in Fedora, which i was expecting to be more intuitive actually seems to be giving me more trouble-- but i'm sure it's me and my inexperience w/ the O/S.

anyway-- i've had my ups and downs w/ apache so far on this system, from having no output, to directory browsing only, and now i'm at only /localhost/index.html in the browser... i've got another file in /var/www/html , test.html, which i'm linking to from the index.html file, but if i click to go to test.html from index.html, i get a 403 Forbidden error. is that not bizzare?

i followed a lot of this guide down to creating the www user, and the chmod stuff. from there, when i do the ll command, here's what i get (please compare to what's shown at the link provided)
Code:
[root@localhost www]# ll /home/www/site1/index.*
-rw-r--r-- 1 www users 170 Jun  2 23:06 /home/www/site1/index.html
can you get anything from that info? why is there a second line w/ more permissions listed in the guide? ideas?
Reply With Quote
Sponsored Links
  #2  
Old 3rd June 2006, 13:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

First, Fedora's default document root is /var/www/html, so you must put your HTML files there.
Then make sure that SELinux is disabled on your system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 4th June 2006, 17:42
jsabarese jsabarese is offline
Member
 
Join Date: Jun 2006
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default

hey, falko-- i don't know how i missed this-- i'll have to double check my forum settings (don't recall a notification)

anyway-- thanks for the info. had i not eventually figured it out from what i read here:
http://www.linuxhomenetworking.com/w...xt_File_Labels
i believe you're the only one in several forums who pegged the problem. so-- belated thank you very much!
Reply With Quote
  #4  
Old 5th June 2006, 14:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Quote:
Originally Posted by jsabarese
i'll have to double check my forum settings (don't recall a notification)
Yes, check your forum settings and make sure the notifications don't get sent to your Spam folder.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_mono apache 2.2 ColdDoT Server Operation 5 23rd May 2006 02:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45
PHP/MySQL/Apache2/ISPConfig configuration issues? senzapaura General 21 25th December 2005 14:01
install apache 1.3 on FC 4 superg Server Operation 1 22nd December 2005 17:44
Apache 1.3 Support SleeperZ General 3 9th November 2005 11:10


All times are GMT +2. The time now is 10:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.