PDA

View Full Version : shtml & webalizer problem



mdr
01-24-2008, 12:35 AM
Freshly installed DA with custombuild but I have two problems.

1) The source for shtml-files is always shown

2) I've installed webalizer as shown on http://help.directadmin.com/item.php?id=63 but they're not being generated.

All hints would be appreciated! ;)

smtalk
01-24-2008, 01:34 AM
You should contact DirectAdmin support regarding the 1st problem. About the 2nd, try to run this manually:


echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

mdr
01-24-2008, 02:08 AM
Thx for your reply smtalk.

Unfortunately it still doesn't work so I mailed DA support ;)

mdr
01-25-2008, 04:24 PM
for the record, beneath the solution which solved both the shtml and webalizer problem

> if you still see the "combined" message in your logs, then edit the
> httpd.conf you've included and change:
>
> <IfModule mod_logio.c>
> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%h %l %u %t \"%r\" %>s %O" common
> LogFormat "%O" bytes
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\" %I %O" combinedio
> </IfModule>
>
> to:
>
> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%h %l %u %t \"%r\" %>s %O" common
> LogFormat "%O" bytes
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\" %I %O" combinedio
>
> Basically, just remove the <IfModule mod_logio.c> lines (</IfModule> too)