rsmakota/clashofkings/master/web/.htaccess - Htaccess File

rsmakota/clashofkings/master/web/.htaccess

<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>

<IfModule mod_rewrite.c>
    RewriteEngine On
#    SetEnv        PROJECT_ENV maintenance
    SetEnv        PROJECT_ENV dev
    #<IfModule mod_vhost_alias.c>
    #    RewriteBase /
    #</IfModule>

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app_dev.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
ENV, no-cache, Pragma, REQUEST_FILENAME

Comments

Apache