in reply to Getting username and password from the URL.
If you are using mod_perl, try this:
$username = $r->connection->user my($ret, $password) = $r->get_basic_auth_pw;
The $username will be the username entered when challenged, $ret will be either OK, DECLINED, SERVER_ERROR, or AUTH_REQUIRED, and $password will be the plain text password entered at the challenge. These must be used with Basic authorization type.
J. J. Horner Linux, Perl, Apache, Stronghold, Unix jhorner@knoxlug.org http://www.knoxlug.org/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Getting username and password from the URL.
by Punto (Scribe) on Jun 12, 2000 at 06:33 UTC | |
by btrott (Parson) on Jun 12, 2000 at 06:37 UTC | |
by jjhorner (Hermit) on Jun 12, 2000 at 06:50 UTC |