equinton/prototypephp/master/.htaccess - Htaccess File

equinton/prototypephp/master/.htaccess

<LimitExcept GET POST>
Deny from all
</LimitExcept>
Options -Indexes
php_flag session.cookie_httponly on
php_flag session.cookie_secure on
php_flag register_globals off
php_flag magic_quotes_gpc true
php_flag display_errors Off
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate, private"
Header set Pragma "no-cache"
Header set X-Frame-Options SAMEORIGIN
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options "nosniff"
<FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Cache-Control "max-age=604800, private"
</FilesMatch>

#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /prototypephp/
#RewriteCond %{REQUEST_URI} !/[^./]+.php
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ index.php?url=$1 [QSA,L,R=301]
#</IfModule>

On Github License

Files

Download PDF of Htaccess file
GET, no-cache, ORIGIN, POST, Pragma, REQUEST_FILENAME, REQUEST_URI

Comments

Apache