Solved

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

Posted on 2004-09-07
3
308 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 75 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 75 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

705 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