htaccess and Ensim help!

Ok, I just tried to config my old htaccess file that was on a plesk
server to run on ensim pro 250.

Cant get it to work.
Anyone have suggestions?

Here is the htaccess file. Of couse I disabled the built in frontpage crap before trying it out....

Just a simple gif, jpg protection .htaccess

AuthGroupFile /dev/null

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://123.123.123.123.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://123.123.123.123/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://123.123.123.123:80/.*$ [NC]
RewriteRule .*([jJ][pP][eE][gG]|[jJ][pP][gG]|[gG][iI][fF])$ [F]

ErrorDocument 302 http://www.mydomain2.com
ErrorDocument 400 http://www.mydomain2.com
ErrorDocument 401 http://www.mydomain2.com
ErrorDocument 403 http://www.mydomain2.com
ErrorDocument 404 http://www.mydomain2.com
ErrorDocument 408 http://www.mydomain2.com
ErrorDocument 500 http://www.mydomain2.com


Any help would be grately appreciated.

 

 

 

 

Top