interesting fact from yesterday evening. Apache in front of Rails on Mongrel, does not deliver the REMOTE_USER Header from basic auth.
1
Replying to @phaus
@phaus REMOTE_USER stays in the Apache process AFAIK. Some mod_rewrite magic will surely help?

Sep 26, 2012 路 9:27 AM UTC

2
Replying to @stilkov
@stilkov yeah i did an addRequestHeader. Funny thing is, that it works with passenger and also for Java and normal CGI Apps.
1
@phaus Nothing funny about that, as all of these have an in-process connection to Apache :-)
Replying to @stilkov
@stilkov actually not. Java was a netty server. Running as its own process on its own port. And there it works just fine. PHP was PHP-FPM.
1
@phaus And the connection to Netty from Apache was pure HTTP? Surely not, but rather mod_jk?
1