Solved

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

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Server specifications for web hosting 7 96
browser caching 4 82
PHP Error Settings 12 86
RewriteRule in .htaccess file not working 8 57
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

761 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