RE: Deny access from certain hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hello,
>        I have a problem where someone is illegally linking to my site.
> There site is in another language so I'm having trouble contacting
> them. Is there any way that I can use PHP or Apache to stop them from
> linking to these files directly on there website. This is an example
> of a log entry that I get from their link:
> 
> 85.65.154.185 - - [04/Sep/2005:06:52:40 -0700] "GET
> /fonts/images/austrise.jpg HTTP/1.1" 200 6094
> "http://www.tipo.co.il/zone/page.asp?zone=41611880647891&pid=1044663";
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
> 
> I've tried using mod_access with a simple directive in my 
> <VirtualHost> like: 
> 
> <Directory /home/da3/public_html/fonts>
>            Deny from 85.65.154
> </Directory>
> 
> 
> And that does not seem to work. I have mod_access installed and PHP 4.
> 
> I'm sorry if this is more of an apache question but it just seems like
> it should be so easy and I can't find a single example of how to stop
> this.
> 
Look at it this way, they have graciously given you full control over a
small portion of their website.  You should reciprocate with some creative
ideas.

What I would do first is replace /fonts/images/austrise.jpg on my site with
a picture of something REALLY disgusting, and use a different file for my
site.

Then, after I have had a few chuckles, and I'm convinced that the bandwidth
bandito has learned a lesson, fix it as Jordan Miller has suggested.

JM

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux