Setting REMOTE_USER to %{SSL:HTTP_SSL_CLIENT_S_DN_CN}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Folks.

I would like to set the REMOTE_USER environment to the value of
%{HTTP_SSL_CLIENT_S_DN_CN}.
After reading the fine manual e few time I think it should work with that:

  RewriteEngine On
  RewriteCond %{SSL:HTTP_SSL_CLIENT_S_DN_CN} (.+)
  RewriteRule ^.*$ - [E=REMOTE_USER:$1]

Tried some variations, but it does not :-(
Could someone help me out with this?

Thanks, Martin

- -- 
 Martin Drescher
 GnuPG Key Fingerprint, KeyID '4FBE451A':
 '2237 1E95 8E50 E825 9FE8  AEE1 6FF4 1E34 4FBE 451A'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCXo8MACgkQb/QeNE++RRoyCACfdJoNvjSH/r6IruyMkQBini1B
xicAn0KJ9oknXSV8Y0Dc+zaEdcmWFals
=EbRz
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux