Bug 118524

Summary: /var/www/usage Webalizer and Apache Forbidden Error
Product: Red Hat Enterprise Linux 3 Reporter: Ryan Shultz <rshultz>
Component: webalizerAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-22 11:22:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan Shultz 2004-03-17 13:12:15 UTC
Description of problem:
When a fresh installation of AS3 is done with Apache and Webalizer, 
the usage directory where Webalizer is configured for by default 
shows forbidden and you are not able to view the contents of the 
directory through a browser but if you view the files through the 
browser by doing a file reference they display.

Version-Release number of selected component (if applicable):
httpd-2.0.46-25.ent
webalizer-2.01_10-15.ent

How reproducible:
I can reproduce this every time I install the OS.

Steps to Reproduce:
1. Install AS3 with Apache and Webalizer
2. Navigate in a web browser to http://localhost/usage
3. You will get the message Forbidden
  
Actual results:
Forbidden
You don't have permission to access /usage on this server.

Expected results:
To see the results of Webalizer

Additional info:
I have searched the httpd.conf file over and over to try to find a 
listing for this particular directory and never can.  I am using a 
non standard web root directory for Apache but it does it also in a 
standard web directory.

Comment 1 Joe Orton 2004-03-27 17:30:13 UTC
Thanks for contacting us.  The /etc/httpd/conf.d/webalizer.conf file
configures access to the webalizer stats pages; depending on how
"localhost" resolves, you may need to add:

   Allow from 127.0.0.1

to the <Location /usage> block in that file.