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 11-19-2008, 11:15 AM   #1
Ryan_Sutton
Member
 
Registered: May 2002
Location: California
Distribution: Fedora 9
Posts: 101

Rep: Reputation: 15
Unable to access file on web server


I am trying to access the forum config file on my web server VIA the internet and am getting "403 Forbidden". I've set permissions on the file I'm trying to access to 777. I don't have any .htaccess files in my web root. Can anyone advise how to troubleshoot?

Additional info: Running Fedora 9, Apache 2.2.9, php5.2.6 and mySQL 5.0. I am just setting this web server up and when I punch in the IP of the server I get the Apache test page. It's when I drill down to the forum files I get a 403.

Thanks!

[edit] - I reinstalled my forum software and now have access to said files.

Last edited by Ryan_Sutton; 11-19-2008 at 11:29 AM.
 
Old 11-19-2008, 04:18 PM   #2
mazhar_theone
LQ Newbie
 
Registered: Mar 2008
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by Ryan_Sutton View Post
I am trying to access the forum config file on my web server VIA the internet and am getting "403 Forbidden". I've set permissions on the file I'm trying to access to 777. I don't have any .htaccess files in my web root. Can anyone advise how to troubleshoot?

Additional info: Running Fedora 9, Apache 2.2.9, php5.2.6 and mySQL 5.0. I am just setting this web server up and when I punch in the IP of the server I get the Apache test page. It's when I drill down to the forum files I get a 403.

Thanks!

[edit] - I reinstalled my forum software and now have access to said files.
the 403 error can be caused either if webserver not have read permissions to file and or execute permissions to folder or holding web-contents.

Or

if the hotlink protection is enabled by settings Rewrite rule in .htaccess file in your DocumentRoot or any parent directory.

Specific reason could be found by monitoring apache error log file.

tail -f /var/log/httpd/error_log


Mazhar
http://mazhar.co.in/blogs/
 
Old 11-19-2008, 04:21 PM   #3
Ryan_Sutton
Member
 
Registered: May 2002
Location: California
Distribution: Fedora 9
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mazhar_theone View Post
the 403 error can be caused either if webserver not have read permissions to file and or execute permissions to folder or holding web-contents.

Or

if the hotlink protection is enabled by settings Rewrite rule in .htaccess file in your DocumentRoot or any parent directory.

Specific reason could be found by monitoring apache error log file.

tail -f /var/log/httpd/error_log


Mazhar
http://mazhar.co.in/blogs/
Notice my comments about setting the permissions to 777 and not having any .htaccess files, but thank you nonetheless. I did look at the error_log file but I couldn't figure out what the problem was. It ended up being easier to just reinstall my software, which I am now able to access VIA the web!
 
  


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
Unable to access internet thru web browser corbis_demon General 3 10-22-2006 05:46 AM
Unable to access many web sites in core 3 JDA Fedora 3 03-02-2005 12:26 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM
Unable to access to a website on apache web server bisbane Linux - Networking 3 07-11-2001 10:18 AM
Unable to access to a website on apache web server bisbane General 3 07-10-2001 12:03 PM


All times are GMT -5. The time now is 06:29 PM.

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