interesting fact from yesterday evening. Apache in front of Rails on Mongrel, does not deliver the REMOTE_USER Header from basic auth.
1
@phaus REMOTE_USER stays in the Apache process AFAIK. Some mod_rewrite magic will surely help?
2
@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
Replying to @phaus
@phaus And the connection to Netty from Apache was pure HTTP? Surely not, but rather mod_jk?

Sep 26, 2012 路 9:43 AM UTC

1
Replying to @stilkov
@stilkov yes. definitely no mod_jk. I hate apps, depending on Apaches/Frontend remote_user header instead of doing their own basic-auth.
2
@phaus If you just used mod_proxy, I don't get how Apache would be able able to behave differently for Mongrel and Netty.