Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 46 lines (40 sloc) 1.05 KB
Options -Indexes -MultiViews +FollowSymLinks
DirectoryIndex index.php index.html
FileETag None
<IfModule mod_php5.c>
php_value post_max_size 8M
php_value upload_max_filesize 8M
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
<FilesMatch "\.(js|css)$">
ExpiresDefault A2592000
</FilesMatch>
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
Header unset Pragma
<FilesMatch "\.(php)$">
#Header set Access-Control-Allow-Origin *
#Header set Access-Control-Allow-Methods "POST, GET, OPTIONS"
#Header set X-Frame-Options "DENY"
Header set Cache-Control "max-age=0, no-store"
Header set P3P CP="STA"
Header unset X-Powered-By
</FilesMatch>
<FilesMatch "\.(js|css)$">
Header set Cache-Control "max-age=2592000"
Header set Accept-Ranges "none"
</FilesMatch>
</IfModule>
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>