httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucuk, Pete" <pete.lu...@ngc.com>
Subject RE: [users@httpd] How to send WHOLE SSL_CLIENT_CERT in reverse proxy?
Date Mon, 27 Nov 2006 15:03:51 GMT
Where would I put the Rewrite escape function in the stuff below?  I
tried a couple different things and could not get it to work.  Thank you
for your help, I appreciate it


RewriteCond %{SSL:SSL_CLIENT_CERT} (.*)
RewriteRule .* - [E=SSLCC:%1]
RequestHeader add X-SSL-Client-Cert %{SSLCC}e

RewriteRule ^/https(.*)$
https://kftcsu14.ftc.lab:48605/servlets-examples/servlet/RequestHeaderEx
ample$1 [P,L] 


>-----Original Message-----
>From: Max Dittrich [mailto:max.dittrich@t-online.de] 
>Sent: Thursday, November 23, 2006 8:37 PM
>To: users@httpd.apache.org
>Subject: Re: [users@httpd] How to send WHOLE SSL_CLIENT_CERT 
>in reverse proxy?
>
>Lucuk, Pete schrieb:
>> The backend server is a 3.x version of Jboss that uses Jetty as the 
>> Servlet engine.
>> Can you use AJP with Jetty?
>> 
>> If not, is there some simple way to yank out the new lines in 
>> SSL_CLIENT_CERT on the reverse proxy?
>
>I just looked up the Apache Docs, because I remembered those 
>internal RewriteMaps. Maybe there's a chance using the 
>internal RewriteMap 'escape' to encode special characters like "\n".
>
>Limitations on the accepted length of headers (2048) may break 
>this solution.
>
>hf,
>.max
>
>
>
>---------------------------------------------------------------------
>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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message