Quote:
Originally Posted by Biker_GA
# deny majestic
SetEnvIfNoCase User-Agent "^MJ12" block
|
As soon as I put that into my .htaccess File i get a "Internal Server Error 500".
This is, except from the actual IP Ranges I blocked (list would be too long

), how my .htaccess File looks.
Code:
php_value memory_limit 64M
php_value upload_max_filesize 50M
php_value max_execution_time 900
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mydomain.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ http://www.myotherdomain.com/hotlinkxutp.jpg [NC,R,L]
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/403.html
<Files .htaccess>
order allow,deny
deny from all
</Files>
Links have been changed in this example but this is how the .htaccess File looks without the actual IP Bans.