I've recently configured access control on the BackupPC CGI interface. Th=
is seems to work ok in
that the webserver prompts for the username and password initially. Howev=
er, it is almost as if
the rules are being applied eratically. Normally, on first login, if the =
user goes to PC Summary,
only the PC's for which the user is specified in the hosts file are displ=
ayed. However, not long
afterwards, the user can suddenly see all PC's
n the PC Summary, then
sometimes one gets the full list, and sometimes the list as limited by t=
he login credentials.
I first thought that this might be a misconfig of Auth on my server, so t=
o make sure, I modified
the Trailer sub in Lib.pm to print the value of $User before sending the =
</body></html>. This
resulted in the environment variable REMOTE_USER as reported by Apache be=
ing printed at the bottom
of each page. However, in all cases, the username is the one that was use=
d to log on
almost seems as if the CheckPermissions thing does not quite work for me.=
I'm no perl expert, so I
guess this must be something not quite right with my setup.
Am I perhaps missing something ? I run Apache 1.3.31 with mod_perl 1.29. =
My BackupPCAdmin is
installed directly in the /cgi-bin/ directory and the Auth requirements a=
re specified in
httpd.conf as :
<Directory "/www/cgi-bin">
AuthUserFile /www/access/passwd
AuthType Basic
AuthName "Access"
Require valid-user
Order allow,deny
</Directory>
Any help appreciated,
Stefan
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
