Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache logs filling up with crap from ebay linked images
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SweepingOar
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 263
Location: LA

PostPosted: Wed Jan 30, 2008 8:39 am    Post subject: Apache logs filling up with crap from ebay linked images Reply with quote

Some people are using one of my spacer images (a 1x1 gif) in their ebay auctions and it's causing a lot of crap in my apache logs. I've blocked any images from being displayed from ebay referred pages using .htaccess (as covered here: https://forums.gentoo.org/viewtopic-t-634091-start-0-postdays-0-postorder-asc-highlight-.html), but that doesn't seem to solve the problem of the requests getting into my log files, it just lists 403 instead of 200 as the result code. Any simple way I can fix this? Thanks.
_________________
-SweepingOar
Back to top
View user's profile Send private message
ragefan
n00b
n00b


Joined: 01 Jun 2002
Posts: 63
Location: Roanoke, Virginia, USA

PostPosted: Wed Jan 30, 2008 7:10 pm    Post subject: Reply with quote

Change the name of your hotlinked spacer.gif and replace it with pr0n. Should solve the problem real fast. :twisted:

Or your own banner ad.
_________________
Registered linux user #256555
Back to top
View user's profile Send private message
andreas_st
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2007
Posts: 112
Location: 48N 16E

PostPosted: Wed Jan 30, 2008 7:28 pm    Post subject: Reply with quote

You don't even need to rename it. You could use mod_rewrite and redirect the request to another image depending on the referrer.
Back to top
View user's profile Send private message
SweepingOar
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 263
Location: LA

PostPosted: Wed Jan 30, 2008 9:12 pm    Post subject: Reply with quote

He's using it with height and width specified in the tag (something like 1x5) so replacing it doesn't bother him. Like I said, I'm already blocking it, but I want to keep the requests out of my log files.
_________________
-SweepingOar
Back to top
View user's profile Send private message
andreas_st
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2007
Posts: 112
Location: 48N 16E

PostPosted: Thu Jan 31, 2008 3:57 am    Post subject: Reply with quote

Did you contact the ebay seller? That's what I would try first.

As soon as the request comes to your web server it usually goes into the log file. I don't know how to prevent this. You could try to block the request before it reaches your web server by using a reverse proxy but I really would not go that far.
Back to top
View user's profile Send private message
SweepingOar
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 263
Location: LA

PostPosted: Thu Jan 31, 2008 4:39 am    Post subject: Reply with quote

Yeah, I contacted him and he was polite and said he'd take care of it, but really, what does he care?
_________________
-SweepingOar
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu Jan 31, 2008 7:56 pm    Post subject: Reply with quote

Tell eBay the pixel is a copyright image and you want them to stop him stealing it.
Back to top
View user's profile Send private message
SweepingOar
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 263
Location: LA

PostPosted: Thu Jan 31, 2008 8:28 pm    Post subject: Reply with quote

That actually might work, sadly enough.
_________________
-SweepingOar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum