hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Query regarding Apache's HTaccess files.

Forum Jump

Query regarding Apache's HTaccess files.

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Web Hosting Evangelist
Join Date: Nov 2003
Posts: 513

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!

Sponsored Links
Junior 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...


Related posts from
Title Type Date Posted
Four Million Domain Names Added to Internet in Q4 2014: VeriSign Report Web Hosting News 2015-03-13 12:31:24
Microsoft Gains Most Websites in May Netcraft Web Server Survey Web Hosting News 2014-05-09 11:38:05
Apache Market Share Falls in Netcraft October Web Server Survey Web Hosting News 2013-10-04 14:34:11
Apache Market Share Dips Slightly in June Netcraft Web Server Survey Web Hosting News 2013-06-06 13:40:21
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?