Results 1 to 2 of 2
-
05-19-2006, 01:07 PM #1Web Hosting Evangelist
- Join Date
- Nov 2003
- Posts
- 536
Query regarding Apache's HTaccess files.
Just a quick query
Is there anyway to write a Rewrite conditional in the HTaccess file to show a user who's IP is banned, a different image if they're viewing an image stored on my server, from another location?
Similiar to the htaccess command to stop leeching, but i'm wondering if that can be tuned to IP Address, rather than to ANYONE accessing an image on another site...
Any help is appreciated!
-
05-20-2006, 05:24 PM #2Junior Guru Wannabe
- Join Date
- May 2006
- Posts
- 95
Smth like this ?
RewriteCond %{REMOTE_ADDR} ^1.1.* [OR]
RewriteCond %{REMOTE_ADDR} ^2.2.*
RewriteRule ...rule for rewriting image address...