[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] confused by .htaccess
- Subject: [cobalt-users] confused by .htaccess
- From: "Gerhard W. Recher "<gwr@xxxxxxxxxxxx>
- Date: Sun Jul 1 15:19:06 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi list
we have webalizer 1.3 installed on RAQ4i
we generated .htaccess files with following content:
#Access file
order allow,deny
allow from all
require group sitexxx
Authname WebStats
Authtype Basic
<snip>
if (!-e '$thepath/.htaccess')
{
# my $string = "#Access file\norder allow,deny\nallow from all\nrequire group $name\nAuthname WebStats\nAuthtype Basic";
my $string = "#Access file\norder allow,deny\nallow from all\nAuthname WebStats\nAuthtype Basic";
open HTACCESS, qq(>$thepath/.htaccess);
print HTACCESS $string;
close HTACCESS;
chmod 0744, qq($thepath/.htaccess);
}
if (!-e '$theftppath/.htaccess')
{
# my $string = "#Access file\norder allow,deny\nallow from all\nrequire group $name\nAuthname FtpStats\nAuthtype Basic";
my $string = "#Access file\norder allow,deny\nallow from all\nAuthname FtpStats\nAuthtype Basic";
open HTACCESS, qq(>$theftppath/.htaccess);
print HTACCESS $string;
close HTACCESS;
chmod 0744, qq($theftppath/.htaccess);
}
if (!-e '$themailpath/.htaccess')
{
# my $string = "#Access file\norder allow,deny\nallow from all\nrequire group $name\nAuthname MailStats\nAuthtype Basic"; <<<<<<commented out due to .htaccess misbehaviour....
my $string = "#Access file\norder allow,deny\nallow from all\nAuthname MailStats\nAuthtype Basic";
open HTACCESS, qq(>$themailpath/.htaccess);
print HTACCESS $string;
close HTACCESS;
chmod 0744, qq($themailpath/.htaccess);
}
</snip>
this worked fine for a while but now we have to modify because NO ONE gains access to these pages.... to read as:
#Access file
order allow,deny
allow from all
Authname WebStats
Authtype Basic
conclusion this means, all Users on the system will have acces to all stats-pages.... this is not a solution...
I searched with google and on the list, but i get no REAL HOWTO to this problem.
how can we fix this problem ??
fix-lists:
InterBaseCS_LI-V6.0.md5lst
MySQL-3.23.37-1.md5lst
OS-6.0.md5lst
RaQ4-All-Kernel-1.0.1-2.216C24III-1.0.1-2.216C24III.md5lst
RaQ4-All-Security-0.0.1-8577-0.0.1-8577.md5lst
RaQ4-All-Security-1.0.1-10098-1.0.1-10098.md5lst
RaQ4-All-Security-1.0.1-10108-1.0.1-10108.md5lst
RaQ4-All-Security-1.0.1-10125-1.0.1-10125.md5lst
RaQ4-All-Security-1.0.1-2-10014-1.0.1-2-10014.md5lst
RaQ4-All-Security-1.0.1-2-9847-1.0.1-2-9847.md5lst
RaQ4-All-Security-1.0.1-8232-1.0.1-8232.md5lst
RaQ4-All-Security-1.0.1-8532-1.0.1-8532.md5lst
RaQ4-All-Security-1.0.1-8747-1.0.1-8747.md5lst
RaQ4-All-Security-1.0.1-9100-1.0.1-9100.md5lst
RaQ4-All-Security-1.0.1-9353-1.0.1-9353.md5lst
RaQ4-All-Security-1.0.1-9531-1.0.1-9531.md5lst
RaQ4-All-Security-1.0.1-9648-1.0.1-9648.md5lst
RaQ4-All-Security-1.0.1-9844-1.0.1-9844.md5lst
RaQ4-All-Security-1.0.1-9878-1.0.1-9878.md5lst
RaQ4-All-Security-1.0.2-5-9769-1.0.2-5-9769.md5lst
RaQ4-All-Security-1.0.2-9077-1.0.2-9077.md5lst
RaQ4-All-Security-1.0.2-9078-1.0.2-9078.md5lst
RaQ4-All-Security-1.0.2-9353-1.0.2-9353.md5lst
RaQ4-All-Security-1.0.3-8762-1.0.3-8762.md5lst
RaQ4-All-System-1.0.1-8572-1.0.1-8572.md5lst
RaQ4-All-System-1.0.1-9259-1.0.1-9259.md5lst
RaQ4-All-System-1.0.1-9447-1.0.1-9447.md5lst
RaQ4-All-System-1.0.1-9819-1.0.1-9819.md5lst
RaQ4-en-OSUpdate-1.0.md5lst
RaQ4-en-System-0.0.6-6375-0.0.6-6375.md5lst
RaQ4-en-System-1.0.2-9198-1.0.2-9198.md5lst
RaQ4-en-System-1.0.7-9229-1.0.7-9229.md5lst
Webalizer-1.30.04-1.md5lst
cmu-snmp-3.7.1.md5lst
obsolete
openssh-server-2.1.1p2.md5lst
uninstallers
webmin-1.0.md5lst
Gerhard W. Recher
(Geschäftsführer)
NETpilot GmbH
Wilhelm-Riehl-Str. 13
D-80687 München
Tel: ++49 89 547182 0
Fax: ++49 89 547182 33
GSM: ++49 171 4802507
w3: http://www.netpilot.net
e-Mail: mailto:Gerhard.Recher@xxxxxxxxxxxx