aubergineit/htmldeliverer/master/.htaccess
RewriteEngine On
# Check if the requested path is not a real file or a
# real directory
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ /?project=$1 [L,QSA]
RewriteCond %{HTTP_HOST} !^html-dev.aubergine-it.nl$ [NC]
RewriteRule ^(.*)$ http://html-dev.aubergine-it.nl/$1 [L,QSA]
<filesMatch ".(html|htm|js|css)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</filesMatch>
AddType application/x-httpd-php .html
On Github License
Files
Download PDF of Htaccess file