[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] One last webalizer question raq3
- Subject: Re: [cobalt-users] One last webalizer question raq3
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed Apr 2 08:03:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Wed, 2 Apr 2003, steeker wrote:
> I finally got php 4.3.1, gd, png, and webalizer running on my raq3. Thanks
> to those that offered their adivice and help. But I have one last question.
> Where does webalizer generate the stats directory .htaccess file from? It
> is making it a little funky.
>
> #Access file
> order allow,deny
> allow from all
> require group site15
> Authname WebStats
> Authtype Basic
> AuthAuthoritative
> Off
>
>
> If I move the last line "Off" up to the previous line it works fine. Where
> can I change this so that it does it right to start with?
>
look in /etc/cron.daily/webalizer.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 group
$name\nAuthname WebStats\nAuthtype Basic\nAuthAuthoritative
off\nAuthPAM_Enabled on\n";
open HTACCESS, qq(>$thepath/.htaccess);
print HTACCESS $string;
close HTACCESS;
chmod 0744, qq($thepath/.htaccess);
}
I notice that 'off' is on a seperate line.
Maybe changing it will help, mine works though
Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
ICQ 229276628 | Phone: +1 203-785-0699 | FAX: +1 866-201-4625
Front Street Networks LLC, 229 Front Street, Ste. #C,
New Haven, CT. 06513-3203 United States of America