myvzar/grace2/master/public/.htaccess
DirectoryIndex index.php
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !^favicon.ico
RewriteCond %{REQUEST_FILENAME} !/files/
RewriteCond %{REQUEST_FILENAME} !/theme/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php?%{QUERY_STRING}
#<ifModule mod_headers.c>
# <FilesMatch ".(html|htm)$">
# Header set Cache-Control "max-age=43200"
# </FilesMatch>
# <FilesMatch ".(js|css|txt)$">
# Header set Cache-Control "max-age=604800"
# </FilesMatch>
# <FilesMatch ".(flv|swf|ico|gif|jpg|jpeg|png)$">
# Header set Cache-Control "max-age=2592000"
# </FilesMatch>
# <FilesMatch ".(pl|php|cgi|spl|scgi|fcgi)$">
# Header unset Cache-Control
# </FilesMatch>
#</IfModule>
#<ifModule mod_expires.c>
# ExpiresActive On
# ExpiresDefault "access plus 5 seconds"
# ExpiresByType image/x-icon "access plus 1 month"
# ExpiresByType image/jpeg "access plus 4 weeks"
# ExpiresByType image/png "access plus 30 days"
# ExpiresByType image/gif "access plus 43829 minutes"
# ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
# ExpiresByType text/css "access plus 604800 seconds"
# ExpiresByType text/javascript "access plus 604800 seconds"
# ExpiresByType application/javascript "access plus 604800 seconds"
# ExpiresByType application/x-javascript "access plus 604800 seconds"
# ExpiresByType text/html "access plus 43200 seconds"
# ExpiresByType application/xhtml+xml "access plus 600 seconds"
#</ifModule>
#<IfModule mod_deflate.c>
# AddOutputFilterByType DEFLATE application/xml application/javascript application/x-javascript text/html text/javascript text/css
#</IfModule>
On Github License
Files