You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Mark Nottingham <mn...@pobox.com> on 1999/08/28 15:27:23 UTC

mod_expires/4922: mod_cgi & mod_expires - ExpiresByType not applied to CGI programs

>Number:         4922
>Category:       mod_expires
>Synopsis:       mod_cgi & mod_expires - ExpiresByType not applied to CGI programs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Aug 28 06:30:00 PDT 1999
>Last-Modified:
>Originator:     mnot@pobox.com
>Organization:
apache
>Release:        1.3.6
>Environment:
Linux 2.2.9, gcc 2.7.2.3
>Description:
If I set a ExpiresByType directive for a cgi-bin directory, such as:
ExpiresByType text/html A5000
the appropriate Expires and Cache-Control: max-age values will not be set, even
though content served is of type text/html.
>How-To-Repeat:
as above
>Fix:
Workaround: use ExpiresDefault.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]