|
This depend on the info you want as certain tables
of info have different methods. For the port you can use:
my $port = $r->get_server_port;
I'm not sure you can get the actaul pass file used
for the protected dir howevere you can recover the authentication result
and the pass used to get into the dir via this method:
my($result,$pass) =
$r->get_basic_auth_pw;
The user via:
my($user_name) =
$r->connection->user;
To get conf info you can use this
method:
$myConfVar =
$r->dir_config('ThisVar');
And in the httpd.conf:
PerlSetVar ThisVar
0
Hope this helps.
Jason Z. Leidigh Project Leader UOL Internacional Av.Libertador 1068 - Piso 3 Capital Federal - ( C1112ABN ) Buenos Aires - Argentina T.E: 0054-11-5777-2446 Fax: 0054-11-5777-2402 www.uol.com.ar [EMAIL PROTECTED] |
- Reading Apache config info from mod_perl starfire
- Jason Leidigh
