https://issues.apache.org/bugzilla/show_bug.cgi?id=56855
Bug ID: 56855
Summary: mod_proxy_fcgi: add PassHeader directive
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: All
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: mod_proxy_fcgi
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31916
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31916&action=edit
patch
We're in the progress of moving from mod_fastcgi to mod_proxy_fcgi on our
PHP-FPM setups and noticed that http authentication won't work anymore.
The main reason for this is the "Authorization"-header won't get passed to the
fcgi app, unless explicitly set. e.g. using SetEnvIf Authorization "(.*)"
HTTP_AUTHORIZATION=$1
Since both fcgi modules, mod_fastcgi and mod_fcgid, support a much easier "pass
header"-directive I decided to add this to mod_proxy_fcgi as well.
Most code is copied from mod_fcgid. The legacy behavior ist left out right
away.
Please see http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidpassheader
for more information.
Patch is attached.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]