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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 26th February 2010, 05:56
dclardy dclardy is offline
Senior Member
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 50 Times in 28 Posts
Default Webalizer Stats and Drupal

I have been reading a lot about the stats folder not working with Drupal installed. This has been really annoying me. I have spent the past hour trying to figure it out. I am using example.com as the domain below.

Earlier today, I noticed that there was no .htpasswd_stats file in the /var/www/example.com/ folder. You will have to create that for now.

htpasswd -c /var/www/example.com/.htpasswd_stats admin
This will create the password, but it still will not work. After searching, I found this helpful tip on the drupal site.

Create a new .htaccess file in the target folder, eg folder1/.htaccess
Add the lines

DirectoryIndex index.php index.html index.htm
Options +Indexes
I then went to the .htaccess folder and added those two lines at the beginning. The file should look like this when complete.

DirectoryIndex index.php index.html index.htm
Options +Indexes

AuthType Basic
AuthName "Members Only"
AuthUserFile /var/www/clients/client1/web1/.htpasswd_stats
require valid-user
I can say that this got me the webalizer stats back. I hope that it helps someone out there. It seems that a lot of us are using Drupal these days.
Reply With Quote
The Following 2 Users Say Thank You to dclardy For This Useful Post:
falko (26th February 2010), till (26th February 2010)
Sponsored Links


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
Can't access stats wxman Installation/Configuration 4 27th October 2010 02:34

All times are GMT +2. The time now is 02:09.

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