Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (32 sloc) 1.4 KB
#Options -MultiViews
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.eidogo\.com [NC]
RewriteRule (.*) http://eidogo.com$1 [R=301,L]
RedirectMatch 404 /\\.svn(/|$)
RedirectMatch 404 /\\.git(/|$)
# Here we assume certain MSIE 6.0 agents are from linkscanner
# redirect these requests back to avg in the hope they'll see their silliness.
# Taken from http://www.pixelbeat.org/docs/web/avg_linkscanner.html
RewriteCond %{HTTP_USER_AGENT} ".*MSIE 6.0; Windows NT 5.1; SV1.$" [OR]
RewriteCond %{HTTP_USER_AGENT} ".*MSIE 6.0; Windows NT 5.1;1813.$"
RewriteCond %{HTTP_REFERER} ^$
RewriteCond %{HTTP:Accept-Encoding} ^$
RewriteRule ^.* http://www.avg.com/?LinkScannerSucks [R=307,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^source$ /source.phtml [L,NE]
RewriteRule ^upload$ /upload.phtml [L,NE]
RewriteRule ^games$ /games.phtml [L,NE]
RewriteRule ^problems$ /problems.phtml [L,NE]
RewriteRule ^problems/(.*)$ /problems.phtml?path=$1 [L,NE]
RewriteRule ^tourney$ /tourney.phtml [L,NE]
RewriteRule ^ff-extension$ /ff_extension.phtml [L,NE]
RewriteRule ^(kjd)$ /#$1 [R,L,NE]
RewriteRule ^(search)$ /#$1 [R,L,NE]
RewriteRule ^(gnugo.*)$ /#$1 [R,L,NE]
RewriteRule ^(blank)$ /#$1 [R,L,NE]
php_flag zlib.output_compression On
php_value zlib.output_compression_level 5
AddHandler application/x-httpd-php .css .js
php_value auto_prepend_file backend/content_header.php
php_value include_path .:..:../..