How to recognize apache authentication
--=__Part0C20D0D6.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hi,
I want to build a script that only authenticate users can access.
The authentication I want to use is Apache authentication.
During the script I need to know the exact person that login.
Is there any environment variable that keep this information?
Thanks,
Shlomit.
--=__Part0C20D0D6.0__=--
Re: How to recognize apache authentication
ä=BA=8E 2011-4-6 20:59, Shlomit Afgin =E5=86=99=E9=81=93:
> I want to build a script that only authenticate users can access.
> The authentication I want to use is Apache authentication.
> During the script I need to know the exact person that login.
>
>
> Is there any environment variable that keep this information?
You should be able to get better answer from the mod_perl mailing list:
http://perl.apache.org/maillist/modperl.html
--
terry - terry [at] geekmail.de
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: How to recognize apache authentication
--MAH+hnPXVZWQ5cD/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2011-04-06 15:59 +0300, Shlomit Afgin wrote:
> I want to build a script that only authenticate users can access.
> The authentication I want to use is Apache authentication.
> During the script I need to know the exact person that login.
>
> Is there any environment variable that keep this information?
$REMOTE_USER, see http://oreilly.com/openbook/cgi/ch02_02.html
--
- Olof Johansson
- www: http://www.stdlib.se/
- {mail,xmpp}: olof [at] ethup.se
- irc: zibri on Freenode/OFTC/IRCnet/...
--
--MAH+hnPXVZWQ5cD/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk2dqLEACgkQCPS7eH/A+7q3vwCgkuS3ZIIqtD6faQ2PbRy2 JVK9
nvUAoLOu0Q8PnU34FEwYDX3Cr7qTPlfY
=4zDV
-----END PGP SIGNATURE-----
--MAH+hnPXVZWQ5cD/--