hosted by liquidweb


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

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
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
  #1  
Old 05-19-2006, 01:07 PM
AdamD AdamD is offline
Web Hosting Evangelist
 
Join Date: Nov 2003
Posts: 478

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!

Reply With Quote


Sponsored Links
  #2  
Old 05-20-2006, 05:24 PM
mazaj mazaj is offline
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...

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Go Daddy Helping Customers Repair Compromised Sites Web Hosting News 2011-09-16 14:35:03


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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?