Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: [Tip] Mod_rewrite :: block extern linking |
|
Author |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 27 Jul '06 15:40 Post subject: [Tip] Mod_rewrite :: block extern linking |
|
|
Code: |
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?deine-domain\.de(/.*)?$ [NC]
RewriteRule \.(gif|jpe?g|png|php|GIF|JPE?G|PNG|PHP)$ - [F]
|
maybe helpfull |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Thu 27 Jul '06 20:23 Post subject: |
|
|
for those who don't speak german verywell:
replace deine-domain\.de with your-domain\.tld |
|
Back to top |
|
|
|
|
|
|