RewriteEngine on
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
# Compress some text file types
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
# Deactivate compression for buggy browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>
<IfModule mod_rewrite.c>
#RewriteBase /blog/
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /blog/index.php [L]
</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/ [L]
<Files 403.shtml>
order allow,deny
deny from 93.143.29.205
deny from 93.142.182.66
deny from 93.142.162.176
allow from all
</Files>
deny from 83.233.30.35
RewriteCond %{HTTP_HOST} ^thecodecage.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.thecodecage.co.uk$
RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/\forumz\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^thecodecage.eu$ [OR]
RewriteCond %{HTTP_HOST} ^www.thecodecage.eu$
RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^thecodecage.org$ [OR]
RewriteCond %{HTTP_HOST} ^www.thecodecage.org$
RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^thecodecage.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.thecodecage.com/$
RewriteRule ^/?$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]
RewriteCond %{HTTSP_REFERER} !^https://www.paypal.com/.*$ [NC]
RewriteCond %{HTTPS_REFERER} !^https://www.paypal.com$ [NC]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]
rewritecond %{query_STRING} !vbet_outside=true
RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
RewriteCond %{HTTP_REFERER} !^http://skype.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://skype.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thecodecage.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thecodecage.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.paypal.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.paypal.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.skype.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.skype.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]