wcatron/Open-PRT/master/www/.htaccess - Htaccess File

wcatron/Open-PRT/master/www/.htaccess

<ifModule mod_headers.c>
<FilesMatch ".(html|htm|js|css|php)$">
Header unset ETag
Header set Cache-Control "max-age=0, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</FilesMatch>
<FilesMatch ".(png|jpg)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</ifModule>

RewriteEngine on

RewriteRule .git - [F,L]

RewriteRule ^$ home.html
RewriteRule ^about$ template.php?page=about.php
RewriteRule ^news$ template.php?page=news.php

RewriteRule ^simulation$ template.php?page=simulator_coming_soon.php [L]

# RewriteRule ^simulation(/.*)?$ /pages/simulator.php?page=$1

On Github License

Files

Download PDF of Htaccess file
no-cache, Pragma

Comments

Apache