https://bz.apache.org/bugzilla/show_bug.cgi?id=64375
Bug ID: 64375
Summary: AddOutputFilter is removing Last-Modified header from
response
Product: Apache httpd-2
Version: 2.4.39
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_mime
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi
We are using AddOutputFilter in the location context as showing the below. But
when we use these filter for js and css, Last-Modified header is not being sent
in the response headers, When we remove these line, this header is being sent
to the client.
Can you help me to understand why this behaviour is like that, It is overriding
the response headers after applying these filters or It is just removing the
Last-Modified header from the response headers.
If we want Last-Modified header in the response, Do we need to remove these
filters or is there any other option that can work with.
And also observed that this header is being sent for other requests except js
and css. Is this by default feature that Apache will send this header or do we
need to add any module/direcives, If So please let us know how we can add some
config in apache to send Last-Modified header in the repsonse.
<Location "/assets" >
AllowOverride None
Require all granted
Order allow,deny
Allow from all
Options +Includes
AddOutputFilter INCLUDES .css
AddOutputFilter INCLUDES .js
</Location>
Thanks,
Aravind
--
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]