agileopl/agileframe/master/web/public/.htaccess - Htaccess File

agileopl/agileframe/master/web/public/.htaccess

php_flag magic_quotas_gpc Off

<IfModule mod_expires.c>

    ExpiresActive On

    <FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
      ExpiresDefault "access plus 1 year"
      Header set Cache-Control "max-age=31536000, public, must-revalidate"
      Header unset Last-Modified
    </FilesMatch>

</IfModule>

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache