Page 1 of 1

My .htaccess please review

Posted: Sun May 31, 2009 4:29 am
by iFlex
Ok, I need this to be evaulated before my site relaunches as I dont want to get any error 500's :banghead:
Please somehow try and test it!

Code: Select all

 
# Generated By iFlex.org.uk 
 
# Main Frame 
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
ForceLanguagePriority Prefer Fallback
 
# Error Documents 
 
ErrorDocument 401 /error/401
ErrorDocument 403 /error/403
ErrorDocument 404 /error/404 
 
# Admin Email 
SetEnv SERVER_ADMIN tomjacko@sky.com
 
# Injector Protector 
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ^Anarchie [OR]
RewriteCond %{HTTP_USER_AGENT} ^ASPSeek [OR]
RewriteCond %{HTTP_USER_AGENT} ^attach [OR]
RewriteCond %{HTTP_USER_AGENT} ^autoemailspider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xenu [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
 
# Send them agents to hell!
RewriteRule ^.*$ http://english-61925045732.spampoison.com [R,L]
 
# Download media files to save bandwidth instaid of keep pleaying them via media pleayer!
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .wmv
AddType application/octet-stream .mp3

Code: Select all