Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th May 2009, 00:30
angelbulas angelbulas is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 26th May 2009, 13:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

The statistics are created nightly, you have to wait up to 24 hours until you can access them.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th May 2009, 17:02
angelbulas angelbulas is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 27th May 2009, 11:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Please make sure that you have the webalizer package of your linux distribution installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
pyrjjiatolr (17th November 2012)
  #5  
Old 27th May 2009, 16:27
angelbulas angelbulas is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 28th May 2009, 11:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

What are the outputs of
Code:
getenforce
and
Code:
which webalizer
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 28th May 2009, 16:39
angelbulas angelbulas is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

# getenforce
Disabled
# which webalizer
/usr/bin/webalizer
Reply With Quote
  #8  
Old 28th May 2009, 16:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Please post the output of:

ls -la /etc | grep webalizer
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 28th May 2009, 16:55
angelbulas angelbulas is offline
Junior Member
 
Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

# 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=
Reply With Quote
  #10  
Old 28th May 2009, 17:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
 
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
403, forbidden, webalizer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
IMAP doesn't work..as i followed the Perfect Setup for Fedora 4 asokaajay Server Operation 11 10th June 2007 14:57
403 Forbidden (Permission to /) rannia_ptaha Installation/Configuration 9 25th January 2007 18:36
403 Error- Forbidden! on form submit Macord General 4 11th December 2006 22:22
problem with Webalizer (403 Error- Forbidden!) kong121s Installation/Configuration 9 28th April 2006 10:33


All times are GMT +2. The time now is 03:05.


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