Bug 7991 - Enhance ExpiresByType to accept wildcards (mod_expires)
Summary: Enhance ExpiresByType to accept wildcards (mod_expires)
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_expires (show other bugs)
Version: 2.0.35
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Keywords: PatchAvailable
Depends on:
Reported: 2002-04-11 23:36 UTC by Paul J Murphy
Modified: 2004-11-16 19:05 UTC (History)
0 users

Patch for this enhancement (8.39 KB, patch)
2002-04-11 23:37 UTC, Paul J Murphy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul J Murphy 2002-04-11 23:36:26 UTC
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.
Comment 1 Paul J Murphy 2002-04-11 23:37:10 UTC
Created attachment 1531 [details]
Patch for this enhancement
Comment 2 André Malo 2003-11-01 21:31:12 UTC
There was change comitted into the 2.1 tree to solve your problem partially.
It's proposed for backport. Marking it as fixed so far.