Red Hat Bugzilla – Bug 118524
/var/www/usage Webalizer and Apache Forbidden Error
Last modified: 2007-11-30 17:07:00 EST
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):
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
You don't have permission to access /usage on this server.
To see the results of Webalizer
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.
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.