![]() |
webalizer 403 Forbidden
Hi, i don't know if someone can help me, I have ISPConfig version 3.0.1.1, 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:
Forbidden 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 1.2.3.4] Directory index forbidden by Options directive: /var/www/mydomain.tld/web/stats/ [Mon May 25 18:17:56 2009] [error] [client 1.2.3.4] 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 </limit> I appreciate your help, thanks in advance |
The statistics are created nightly, you have to wait up to 24 hours until you can access them.
|
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
|
Please make sure that you have the webalizer package of your linux distribution installed.
|
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 |
What are the outputs of
Code:
getenforceCode:
which webalizer |
# getenforce
Disabled # which webalizer /usr/bin/webalizer |
Please post the output of:
ls -la /etc | grep webalizer |
# 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 *.GIF HideURL *.jpg HideURL *.JPG HideURL *.png HideURL *.PNG HideURL *.ra SearchEngine yahoo.com p= SearchEngine altavista.com q= SearchEngine google.com q= SearchEngine eureka.com q= SearchEngine lycos.com query= SearchEngine hotbot.com MT= SearchEngine msn.com MT= SearchEngine infoseek.com qt= SearchEngine webcrawler searchText= SearchEngine excite search= SearchEngine netscape.com search= SearchEngine mamma.com query= SearchEngine alltheweb.com query= SearchEngine northernlight.com qr= |
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 23:09. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.