X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=conf%2Fapache.conf.sed.in;h=35bb3b5bf668eef0123cbca25cdc85b6fb1fded9;hb=d2a27f6505a89ed3651d52e160db122541a6165d;hp=5ed7453f90da1c1a23357877b9a6825017c15347;hpb=47effee542c2d35e5956e225c94ba9046d54c4b8;p=deb%2Fpackages.git diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index 5ed7453..35bb3b5 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -9,8 +9,9 @@ # Nice caching.. ExpiresActive On ExpiresDefault "access plus 1 day" - ExpiresByType image/gif "access plus 1 week" - ExpiresByType image/jpeg "access plus 1 week" + ExpiresByType image/gif "modification plus 1 year" + ExpiresByType image/jpeg "modification plus 1 year" + ExpiresByType image/png "modification plus 1 year" # language stuff # you need to keep this in sync with lib/Packages/I18N/Locale.pm @@ -120,8 +121,7 @@ RewriteCond %{QUERY_STRING} ="" RewriteCond %TOPDIR%/www%{REQUEST_FILENAME} -f [OR] RewriteCond %TOPDIR%/www%{REQUEST_FILENAME}.en.html -f [OR] - RewriteCond %TOPDIR%/www%{REQUEST_FILENAME} -l [OR] - RewriteCond %TOPDIR%/www%{REQUEST_FILENAME} -d + RewriteCond %TOPDIR%/www%{REQUEST_FILENAME} -l RewriteRule . - [L] RewriteRule ^/(.+)$ /cgi-bin/dispatcher.pl/$1 [L,PT]