efetepe/magicdocumentation/master/.htaccess - Htaccess File

efetepe/magicdocumentation/master/.htaccess

SetEnv PHP_VER 5_4
SetEnv REGISTER_GLOBALS 0
SetEnv cache_control public
SetEnv SESSION_USE_TRANS_SID 0 

Options

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html|
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php

Options +FollowSymLinks -MultiViews -Indexes
RewriteEngine On

RewriteRule ^thumb/(.*)_(.*).(.*)$ thumb.php?file=$1&size=$2&ext=$3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_FILENAME

Comments

Apache