# compress teh shit AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.[0678] no-gzip BrowserMatch \bMSIE\s7 !no-gzip !gzip-only-text/html order allow,deny # deny rss miortics: fuck off deny from 86.121.189.246 # deny spam referal redneck deny from 80.230.4.42 # deny strange requests deny from 216.246.30.134 allow from all # textpattern RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) - [PT,L] RewriteRule ^(.*) index.php # hotlinking RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://locknet.ro/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://locknet.ro$ [NC] RewriteCond %{HTTP_REFERER} !^http://medick.locknet.ro/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://medick.locknet.ro$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.locknet.ro/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.locknet.ro$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.locknet.ro [R,NC] # referal spam RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*host-tracker\.com [NC] RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*everatom\.com [NC] RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*debt-settlement-agency\.com [NC] RewriteCond %{HTTP_REFERER} ^http://tvsetmp3\.com [NC] RewriteCond %{HTTP_REFERER} ^http://buytramadol000\.blogspot\.com [NC] RewriteCond %{HTTP_REFERER} ^http://freeliveporno\.org [NC] RewriteCond %{HTTP_REFERER} ^http://sviolett\.com [NC] RewriteCond %{HTTP_REFERER} ^http://coolhotbabe\.in [NC] RewriteCond %{HTTP_REFERER} ^http://sitedossier\.com [NC] RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*eoltt\.com [NC] RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*megapopo\.info [NC] RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*usagoodhotel\.com [NC] RewriteRule ^(.*)$ http://www.locknet.ro/imok.php [R,L] # spam bots RewriteCond %{HTTP_USER_AGENT} ^MJ12bot/v1\.0\.8.*$ RewriteRule .* - [F] # deny other pigs RewriteCond %{HTTP_REFERER} .*therunnersshop.com.* [NC] RewriteRule ^(.*)$ http://%{REMOTE_ADDR}/ [R=301,L]