Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003

    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!

  2. #2
    Join Date
    May 2006
    Smth like this ?

    RewriteCond %{REMOTE_ADDR} ^1.1.* [OR]
    RewriteCond %{REMOTE_ADDR} ^2.2.*
    RewriteRule ...rule for rewriting image address...

  3. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts