Re: [PHP] Deny access from certain hosts

2005-09-14 Thread Jordan Miller
if people are allowed to post copyrighted images to your bulletin board, shouldn't you have some sort of password protection anyway? negating that, i would do it with PHP and not Apache. rather than simply serving up the file raw: why not setup a php script to do URL referring blocking:

Re: [PHP] Deny access from certain hosts

2005-09-14 Thread Jens Schulze
Aaron Greenspan wrote: > Can you do that with .htaccess? Please have a look at http://www.webmasterworld.com/forum92/2783.htm found it on the second page with the search termin "apache block requests from specific referrers". Jens -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Deny access from certain hosts

2005-09-13 Thread David Pollack
> 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 diff

Re: [PHP] Deny access from certain hosts

2005-09-13 Thread Aaron Greenspan
Jordan, I have a similar problem where someone is using copyrighted images on my site in a bulletin board. It's not that one specific host is requesting the files--it's people from all over--but rather that I want to block one referring URL using Apache, rather than PHP, since the images are

RE: [PHP] Deny access from certain hosts

2005-09-13 Thread Jim Moseby
> 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

Re: [PHP] Deny access from certain hosts

2005-09-13 Thread Jordan Miller
you need to do it like this: Order Allow,Deny Allow from all Deny from 85.65.154 http://httpd.apache.org/docs/1.3/mod/mod_access.html Jordan On Sep 13, 2005, at 2:30 PM, David Pollack wrote: Hello, I have a problem where someone is illegally linking to my site. There site is in an

[PHP] Deny access from certain hosts

2005-09-13 Thread David Pollack
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