.htaccess -referer

Problems with the Windows version of XAMPP, questions, comments, and anything related.

.htaccess -referer

Postby Mete » 22. September 2006 21:53


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

If the referer is *wiss.hacked.in* 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 http://www.trafficklau.de/ersatzgrafik.gif
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!

Posts: 1
Joined: 22. September 2006 21:44

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 34 guests