Mailing List Archive

[Bug 7991] New: - Enhance ExpiresByType to accept wildcards
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7991

Enhance ExpiresByType to accept wildcards

Summary: Enhance ExpiresByType to accept wildcards
Product: Apache httpd-2.0
Version: 2.0.35
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Modules
AssignedTo: bugs@httpd.apache.org
ReportedBy: paul@murph.org


It's useful to be able to set the Expires header according to just the major
(but not the minor) MIME type (ie Content-Type: major/minor), eg:

ExpiresByType image/* "access plus 1 week"

The attached patch adds this behaviour, and has been successfully tested on
Solaris 8/SPARC with recent Sun patches.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org