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

[cobalt-users] How to change webalizer .htaccess to allow any site user to view reports?



Hi all,

I have installed Webalizer2 from cobalt-aid.sourceforge.net, it works great.

I would like to change the /usr/bin/webalizer2.pl script so the default
.htaccess file created will allow ANY valid user from a given site to view
the reports, not just the siteadmin.

Here is the excerpt from the script:

#
#
       my $string = "#Access file\norder allow,deny\nallow from all\nrequire
group $name\nAuthname WebStats\nAuthtype Basic";
       open HTACCESS, qq(>$thepath/.htaccess);
       print HTACCESS $string;
       close HTACCESS;
       chmod 0744, qq($thepath/.htaccess);
#
#

Any help is greatly appreciated!

Thanks

Brandon

----- Original Message -----
From: "SM" <nntp@xxxxxxxxx>
To: "Herbert Malle" <cobalt@xxxxxxxxx>
Cc: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Sunday, November 25, 2001 12:52 PM
Subject: [cobalt-users] Re: RaQ4: excessive recursion (max 50), ruleset
canonify


> Hi Herbert,
> At 17:31 25-11-2001 +0100, Herbert Malle wrote:
> >Duplicates I have unfortunately still. Is there an instruction, with
which I
> >can delete all duplicates?
>
> makemap (see the command I posted previously) again to locate the
duplicate
> lines.  Then use a text editor to remove these lines.
>
> Regards,
> -sm
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>