[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: [cobalt-users] Fixing the nasty RaQ Hack



> > we have never had frontpage running on our raq, the contents of our
> > .htaccess file is as follows:
> >
> > #Access file
> > #order allow,deny
> > #allow from all
> > #require group site4
> > #Authname WebStats
> > #Authtype Basic
> > #AuthAuthoritative off
> >
> > Any ideas?

That looks like the webalizer .htaccess file.

You could remove all your stats directories and then let cron rebuild them.
This is how I remove mine, PLEASE BE CAREFIL as your webalizer set up may be
different to mine
and could be in /home/sites/users/stats for example.
rm -r /home/sites/*/web/stats

Webalizer will recreate  the .htaccess files.

If you do not want to wait for cron to do it you can force it as follows:
su -
 /usr/local/sbin/split_logs web < /var/log/httpd/access
 /etc/cron.daily/webalizer.pl

It may also be worth looking at  /usr/bin/webalizer2.pl
and changing the following lines

# Create a .htaccess if it isn't there yet
    if (!-e '$thepath/.htaccess')

####Change to ######
# Create a .htaccess if it isn't there yet
    if (!-e '$thepath/.htaccess')



Bassi