[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RAQ550 - HTaccess problem
- Subject: [cobalt-users] RAQ550 - HTaccess problem
- From: "Graaf Teil" <graaf_teil@xxxxxxxxxxx>
- Date: Sat Jun 21 07:49:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
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