Summary: | suggest that one can set ExpiresByType while other files do not set expires header | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | oink <Xuefer> |
Component: | mod_expires | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 2.0.47 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
oink
2003-07-26 08:22:46 UTC
The problem seems to be that expiresdefault is set to "" and not null as the default value when creating a new configuration block. That means that the test in line 514 of modules/metadata/mod_expires.c thinks expiry is set, when it is not. Either expiresdefault should be set to NULL or the test should check for an empty expire (add "&& expiry[0]" to if statement). |