[users@httpd] Proxying ssl environment info

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

 



This is with apache 1.3.x.  Running apache 2 isn't an option due to
some web applications using older versions of mod perl.

I want to use apache to proxy ssl connections to a backend plain http
server.  The backend server is mongrel (http://mongrel.rubyforge.org/)
which is used to run ruby on rails web apps.  Apache would be
configured to require ssl client certificates issued by our ca.  What
I want is to somehow pass the mod_ssl environment variables to mongrel
when the request is proxied.  I've tried using mod_rewrite, and while
it handles the proxying just fine it's not passing the ssl
environment.  This is the configuration that isn't working for me.
I've also tried setting an arbitrary test environment variable
([E=TESTVAR:test,P]) without any luck.

RewriteRule ^/xml/(.*) http://localhost:88/xml/$1
[E=SSL_CLIENT_CERT:%{SSL:SSL_CLIENT_CERT},P]


So is there a way to do what I want with apache 1.3.x?

chris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-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