Apache, proxypass and REMOTE_USER

Hello, still trying to get things going.
With proxypass the REMOTE_USER variable set by mod_auth_* is not passed
to
mongrel. I found another admin that has the same problem[1], but no
solution.
Did someone here solve this problem?

[1]http://mail-archives.apache.org/mod_mbox/httpd-users/200610.mbox/<323a37200610021509k6142cb08q6e6b0642e3261c6d%40mail.gmail.com>

Am 25.01.2008 um 19:30 schrieb Simon S.:

Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

hi!

i had the same problem about a year ago, after some looooong research
i found a working solution (well hidden in the depths of google).

add this to your httpd.conf (within the block)

 RewriteEngine On
 RewriteCond %{REMOTE_USER} (.+)
 RewriteRule . - [E=RU:%1]
 RequestHeader set REMOTE_USER %{RU}e

this will add the header to the request that gets forwarded to the
mongrels.

cheers
ralf

On Friday 25 January 2008 19:30:44 Simon S. wrote:

Hello, still trying to get things going.
With proxypass the REMOTE_USER variable set by mod_auth_* is not passed to
mongrel. I found another admin that has the same problem[1], but no
solution. Did someone here solve this problem?

[1]http://mail-archives.apache.org/mod_mbox/httpd-users/200610.mbox/<323a37
200610021509k6142cb08q6e6b0642e3261c6d%40mail.gmail.com>

Sorry for the spam.
http://www.ruby-forum.com/topic/83067