Bug 59444 - FastCgiExternalServer invalidates other modules header-modifications
Summary: FastCgiExternalServer invalidates other modules header-modifications
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_fcgid (show other bugs)
Version: 2.4.10
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-09 12:50 UTC by Andreas Born
Modified: 2016-05-09 12:50 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Born 2016-05-09 12:50:24 UTC
When using mod_action and mod_fcgid/FastCgiExternalServer to parse files through php5-fpm, then any http headers being set by mod_expire, mod_headers and so on are being invalidated or ignored. That way it is impossible to define Content Type, Expire, Cache Control and other Headers by means of configuration parameters. However, it is still possible to output headers by the php script directly, but this is not always an acceptable solution.

Instead, any Cache-Control, Expire or other headers that were defined to fit a special Mimetype, VirtualHost, Path, File or Location should remain an and be sent out even if the request is redirected and its response generated through mod_fcgid as action handler.