?
Solved

Forbidden to access webpages...even from localhost ( Linux FC2 )

Posted on 2004-09-07
3
Medium Priority
?
311 Views
Last Modified: 2008-02-26
Hello All,

I am trying to set up certain apps like mrtg, and webalizer. Actually they are already installed. The problem is when I try to access any of the pages even from localhost I get a Forbidden page. I can access all other pages just not these 2. Read access is permitted. Don't know what gives, any ideas?


GR
0
Comment
Question by:GR999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 225 total points
ID: 12003828
1. check your apache error.log it should say more details about error.
2. Check that files are readable by user who owns the httpd process (by default it is user nobody)

0
 
LVL 15

Assisted Solution

by:samri
samri earned 225 total points
ID: 12005331
In addition to those recommended by ramazanyich:

try to locate any html file in the respective folder, for example for mrtg, try to access http://localhost/mrtg/somefile.html

If this is the case, then you need to either create a default index file (http://httpd.apache.org/docs-2.0/mod/mod_dir.html#directoryindex) so that Apache would attempt to load this file in the event that the request is not to a file.

Another option would be fixing the Option directive in the respective Directory tag .  Make sure +Indexes is added to the Options (http://httpd.apache.org/docs-2.0/mod/core.html#options) list.  This would enable directory browsing for those folder that does not have default index file.

Hope this help.
0
 

Author Comment

by:GR999
ID: 12011584
Thanks for the help guys. I appreciated the quick responses. I figured it out. Those 2 programs (on Fedora Core 2 at least) have aliases associated with them and need their access configured in /etc/httpd/conf.d. They don't allow any access as a default...go figure. Thanks for the help I have raised and split the points evenly.


GR
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question