Am 25.01.2008 um 19:30 schrieb Simon Santoro:
> 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>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> 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 <proxy> 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