Fedora Linux Support Community & Resources Center
  #1  
Old 5th December 2004, 04:25 PM
dan245 Offline
Registered User
 
Join Date: Dec 2004
Posts: 3
My server is acting weird

I have a server setup on my Fedora core 3 box. I placed the "index.html" file in the /var/www/http/ part. Then when I went to access it through the internet i got a "forbbinen"

I really need help!
Reply With Quote
  #2  
Old 5th December 2004, 04:57 PM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
You need to change permission on the file to make it accessible to everyone:

chmod 644 /var/www/html/index.html

Also, notice the directory is normally (unless your changed it in the /etc/httpd/conf/httpd.conf file) ".../html/" not ".../http/".
Reply With Quote
  #3  
Old 5th December 2004, 06:03 PM
dan245 Offline
Registered User
 
Join Date: Dec 2004
Posts: 3
I did that already but, it still comes up. I tried doing it through localhost and it did the same thing.
Reply With Quote
  #4  
Old 5th December 2004, 06:13 PM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
What URL are you using to access the file? It should be:

http://yourdomain.something/
or
http://yourdomain.something/index.html

Since the file is in the document root, all references are relative to the /var/www/html/ directory. Make sure the file is in that directory, not '/var/www/http'.
Reply With Quote
  #5  
Old 5th December 2004, 10:32 PM
c0uchm0nster Offline
Registered User
 
Join Date: Dec 2004
Posts: 37
if he had it in http it wouldnt matter, he wouldnt get a forbidden he'd get the default apache page (unless he DID reconfigure httpd.conf)

try moving/renaming the index.html that you put there and just access the webserver (so you get the apache default page) - let us know if it shows up or if you get a forbidden
if it shows up then obviously the problem is with your index.html - just make an empty html file (with
Code:
<html>
<head>
</head>
<body>
</body>
</html>
and see if that loads, if it doesnt then give us the output of getfacl on the file (shows who owns and permissions)
Reply With Quote
  #6  
Old 6th December 2004, 08:36 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
I suspect SELinux. Have a look at the documentation or change things with System Settings > Security Level.
Reply With Quote
  #7  
Old 6th December 2004, 03:38 PM
macemoneta's Avatar
macemoneta Offline
Registered User
 
Join Date: May 2004
Location: NJ
Posts: 913
There is a problem with selinux and SSI includes (see bug 141963), but other than that, selinux doesn't seem to cause a problem for simple web serving (with the targeted policy set to enforcing).
Reply With Quote
Reply

Tags
acting, server, weird

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
CompizFusion acting weird vmstr Using Fedora 0 13th February 2009 01:19 AM
Apache acting weird? exutable Servers & Networking 1 29th October 2007 04:26 AM
Internet connection acting weird... yarivm Servers & Networking 1 21st September 2007 10:57 AM
CD drive acting weird DoubleVision Hardware & Laptops 2 30th December 2006 03:29 AM
VLC is acting weird. archangeleon Using Fedora 0 12th November 2006 04:05 AM


Current GMT-time: 11:07 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat