pumi11/aau/master/public_html/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
# If a directory or a file exists, use the request directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward the request to index.php
RewriteRule . index.php
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A7200
ExpiresByType text/html A1
</IfModule>
<IfModule mod_header.c>
# 1 day
<FilesMatch ".(jpg|jpeg|gif|png|ico|css|js|swf)$">
Header set Cache-Control "max-age=86400"
</FilesMatch>
</IfModule>
<ifmodule mod_expires.c>
<filesmatch ".(jpg|jpeg|gif|png|ico|css|js|swf)$">
ExpiresActive on
ExpiresDefault "access plus 6 day"
</filesmatch>
</ifmodule>
On Github License
Files