Ensim and .htaccess

I had to switch servers due to leeching (long story).

So, I had plesk, which I loved, but now I have ensim.

ensim is the devil incarnate.

Soo, I'm trying to get my htaccess file to work again, which was originally (on plesk) the following text:
PHP Code:
RewriteEngine on
RewriteCond 
%{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^[url]http://[/url](www\.)?sparta.cn(/)?.*$     [NC]
RewriteCond %{HTTP_REFERER} !^[url]http://[/url](|www\.)?sparta.cn(/)?.*$     [NC]
RewriteRule .*\.(mpeg|mpg|asx|avi|qt|swf|wmv|mp3|wav)$ [url]http://www.sparta.cn/content.php?var=hotlink[/url] [R,NC] 
Now there are already .htaccess files in ensim, they contain:

PHP Code:
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<
Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName [url]www.sparta.cn[/url]
AuthUserFile /home/virtual/site63/fst/var/www/html/_vti_pvt/service.pwd
AuthGroupFile 
/home/virtual/site63/fst/var/www/html/_vti_pvt/service.grp 
When I add or replace the ensim htaccess file with my own, it always denies access to ANYTHING on my server for anyone.

How can I get this to work?

 

 

 

 

Top