https://issues.apache.org/bugzilla/show_bug.cgi?id=44518
--- Comment #2 from Jerome Renard <[email protected]> 2009-09-15 14:16:50 PDT --- Created an attachment (id=24271) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24271) patch attempt for issue 4451 Good evening. Please find attached a patch which implement this enhancement request. A new configuration directive has been added : ExpiresIgnoreRedirect I tested with the following configuration : <Directory /Users/jerome/work/www/perso/apache/issues/44518/> <IfModule mod_expires.c> ExpiresActive On # When set to Yes an Expires header will be sent # even if a Location header is present # Posible values : 'Yes' or 'No' # Default value : No ExpiresIgnoreRedirect Yes ExpiresDefault "access plus 1 year" # ExpiresByType text/html M604800 </IfModule> </Directory> Tested with ExpiresDefault and ExpiresByType and it seems to work fine. The patch has been generated against SVN trunk. Any comment/feedback welcome. Best Regards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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]
