HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   webalizer 403 Forbidden (

angelbulas 26th May 2009 01:30

webalizer 403 Forbidden
Hi, i don't know if someone can help me, I have ISPConfig version, and when I try to access to http://mydomain.tld/stats I put my username (admin) and my password (I configured it in Sites>Domain>Statistics) but then my web browser send me the following message:


You don't have permission to access /stats/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

And in the logs at /var/log/ispconfig/httpd/mydomain.tld/error.log I notice the following two lines:

[Mon May 25 18:17:56 2009] [error] [client] Directory index forbidden by Options directive: /var/www/mydomain.tld/web/stats/
[Mon May 25 18:17:56 2009] [error] [client] File does not exist: /var/www/error/403.html

Did someone know what is the problem, I try to access /var/www/mydomain.tld/web/stats and the directory is empty, only the file .htaccess is present and have the following lines:

AuthType Basic
AuthName "Members Only"
AuthUserFile /var/www/clients/client5/web12/.htpasswd_stats
<limit GET PUT POST>
require valid-user

I appreciate your help, thanks in advance

till 26th May 2009 14:28

The statistics are created nightly, you have to wait up to 24 hours until you can access them.

angelbulas 26th May 2009 18:02

Thanks for the quick reply, I forgot to tell you that I create my site 5 days ago and I still don't see statistics about it. Does the folder /var/www/mydomain.tld/web/stats should have any file? because I only have the .htaccess in that folder, thanks in advance

till 27th May 2009 12:10

Please make sure that you have the webalizer package of your linux distribution installed.

angelbulas 27th May 2009 17:27

yes, i have this version installed:
webalizer - 2.01_10-30.1.i386

What other thing it might be? I have CentOS 5.2 installed, thanks for your help

falko 28th May 2009 12:49

What are the outputs of


which webalizer

angelbulas 28th May 2009 17:39

# getenforce
# which webalizer

till 28th May 2009 17:42

Please post the output of:

ls -la /etc | grep webalizer

angelbulas 28th May 2009 17:55

# ls -la /etc | grep webalizer
-rw-r--r-- 1 root root 23735 Jan 8 2007 webalizer.conf

This are the uncommented lines in the file webalizer.conf :

LogFile /var/log/httpd/access_log
OutputDir /var/www/usage
HistoryName /var/lib/webalizer/webalizer.hist
Incremental yes
IncrementalName /var/lib/webalizer/webalizer.current
PageType htm*
PageType cgi
PageType php
PageType shtml
DNSCache /var/lib/webalizer/dns_cache.db
DNSChildren 10
Quiet yes
FoldSeqErr yes
HideURL *.gif
HideURL *.jpg
HideURL *.png
HideURL *.ra
SearchEngine p=
SearchEngine q=
SearchEngine q=
SearchEngine q=
SearchEngine query=
SearchEngine MT=
SearchEngine MT=
SearchEngine qt=
SearchEngine webcrawler searchText=
SearchEngine excite search=
SearchEngine search=
SearchEngine query=
SearchEngine query=
SearchEngine qr=

till 28th May 2009 18:09

Please run:

mkdir /etc/webalizer
ln -s /etc/webalizer.conf /etc/webalizer/webalizer.conf

and wait until tomorrow to see if the stats get created.

All times are GMT +2. The time now is 06:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.