Accentuation changes are allowed.
[platal.git] / htdocs / .htaccess.in
CommitLineData
4a5fb34b 1RewriteEngine on
2
b6cdf7b4 3RewriteBase @REWRITE_BASE@
4a5fb34b 4
f7644ca9 5# Rewrites URLs of the form 'index.php?q=x'.
4a5fb34b 6RewriteCond %{REQUEST_FILENAME} !-f
7RewriteCond %{REQUEST_FILENAME} !-d
6d262738 8RewriteRule ^(.*)$ ?n=$1 [L,QSA]
f7644ca9
VZ
9
10# Caches the immutable resources for seven days. Generated files (images and JS
11# served by PHP) are not affected.
12ExpiresActive On
13ExpiresByType application/x-javascript "access plus 7 days"
14ExpiresByType image/gif "access plus 7 days"
15ExpiresByType image/jpeg "access plus 7 days"
16ExpiresByType image/png "access plus 7 days"
17ExpiresByType text/css "access plus 7 days"