Page 1 of 1

.htaccess -referer

PostPosted: 22. September 2006 21:53
by Mete

Can anyone write for my a little .htaccess file??

If the referer is ** allow it,
if it comes from another referer, or haven't a referer, deny

I've tryed that:

<Files ~ "\.(gif|jpe?g|png)$">
ErrorDocument 403
SetEnvIfNoCase Referer http\:\/\/(www\.){0,1}wiss.hacked\.in.* Erlaubt

Order Allow,Deny
Deny from all
Allow from env=Erlaubt

Sorry for my bad english!