[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Using ip2host w/webalizer (was HELP!)
- Subject: Re: [cobalt-developers] Using ip2host w/webalizer (was HELP!)
 
- From: "Billy Kimbler" <kimbler01@xxxxxxxxxxxxxxx>
 
- Date: Wed Sep 19 12:38:05 2001
 
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
 
> Has anyone figured out a safe way to allow everyone to read the stats?
> Will just deleting the .htaccess file do that?
-Yes, that will do it temporarily, but in order to prevent the webalizer
perl
-script from recreating the file, you should just use an empty .htaccess
file
-instead of deleting it.
Or just comment out the line in /etc/cron.daily/webalizer.pl (for version
1.3 )  that creates the .htaccess file comment it out by putting # at the
front of that line ie
for version 2.0
/usr/bin/webalizer2.pl
# Create a .htaccess if it isn't there yet
#    if (!-e '$thepath/.htaccess')
 #   {
 #      my $string = "#Access file\norder allow,deny\nallow from
all\nrequire gr$
 #      open HTACCESS, qq(>$thepath/.htaccess);
 #      print HTACCESS $string;
#       close HTACCESS;
  #     chmod 0744, qq($thepath/.htaccess);
 #   }
works fine for me
Billy Kimbler
Sierra Promotions
www.sierralinks.com