[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RAQ550 - HTaccess problem



Hi,

I make a .htaccess file so no files can download from my domain from an other domain. (some other websites have a download link on his site to download the files from my server.)

In the ,htaccess file I vave the follow:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com(/)?.*$     [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|exe|zip)$ http://www.domain.com/block.php [R,NC]

I change domain.com to my own site!

This will give an 500 error
Anyone tips to make this wile working?

_________________________________________________________________
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl