d07RiV/d3planner/master/.htaccess - Htaccess File

d07RiV/d3planner/master/.htaccess

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

RewriteEngine On

RewriteBase /

RewriteCond %{HTTP_HOST} ^d3local.com$
RewriteRule ^.*$ http://www.d3local.com/$0 [L,R=301]
RewriteRule ^(items|itemsets|powers)_diff.html$ http://www.d3local.com/diff/$1 [L,R=301]

#RewriteCond %{HTTP_HOST} ^ptr.d3local.com$
#RewriteRule ^.*$ http://www.d3local.com/$0 [L,R=302]

RewriteRule ^(external|css|external/bnet/css)/all.css$ php/style.php [L]
RewriteRule ^(__old|css|external|php|scripts|mantisbt|simulator|chinese|ziptest|translate|poe)/ - [L]
RewriteRule ^e?[0-9]*$ index.php [L]
RewriteRule ^reset=[0-9a-f]{32}$ index.php [L]
RewriteRule ^sim(/[a-z]+)?$ php/sim.php [L]
RewriteRule ^skills(/(wizard|demonhunter|monk|crusader|witchdoctor|barbarian))?$ skills.php [L]
RewriteRule ^locale(/[a-z][a-z][A-Z][A-Z])?$ php/locale.php [L]
RewriteRule ^(timestamp|core|proxy|save|load|search|data|report|savestash|loadstash|account|delete|changes|errors|priority|script|style)$ php/$1.php [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache