Solved

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

Posted on 2004-09-07
3
299 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
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 75 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

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…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now