readerself/readerself-symfony/master/web/.htaccess
Options -Indexes -MultiViews +FollowSymLinks
DirectoryIndex app.php index.html
FileETag None
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
<FilesMatch ".(js|css)$">
ExpiresDefault A2592000
</FilesMatch>
</IfModule>
<IfModule mod_headers.c>
Header always set Access-Control-Allow-Origin: "*"
Header always set Access-Control-Allow-Methods: "POST, GET, PUT, DELETE, OPTIONS"
Header always set Access-Control-Allow-Headers: "content-type, x-requested-with, x-connection-token"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-Xss-Protection "1; mode=block"
Header always set X-Content-Type-Options "nosniff"
Header unset ETag
Header unset Pragma
<FilesMatch ".(php)$">
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>
On Github License
Files