alexbigapps/cco/master/backend/web/.htaccess - Htaccess File

alexbigapps/cco/master/backend/web/.htaccess

#AddHandler application/x-httpd-php54 .php
<filesMatch "/uploads/.*$">
  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, 08 Jan 1975 05:00:00 GMT"
  </ifModule>
</filesMatch>

RewriteEngine on

# If a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php
RewriteRule . index.php

On Github License

Files

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

Comments

Apache