Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 08-18-2006, 07:49 PM
snaefell Offline
forum loafer
 
Join Date: Dec 2005
Posts: 11
mod_rewrite and deep links

Hi there,
i found some pages, that have set deep links to some of my pictures. Beside stealing my traffic the pictures are somethimes presented in environments, i don't like. If i use a .htaccess file with the following code:
---snip---
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://((www|blog|foto)\.)?snaefell\.de [NC]
RewriteRule \.(gif|jpg|GIF|JPG)$ ersatz.gif [L]
---snip---
i can block these sites very well. Unfortunately also sites, which read my RSS feed like Bloglines.com (and which are wanted) are blocked. Has anybody an idea to solve this problem?

snaefell
__________________
--
http://foto.snaefell.de
Reply With Quote
  #2  
Old 08-18-2006, 08:32 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
There are some other interesting enviroment variables:
Quote:
connection & request:

REMOTE_ADDR
REMOTE_HOST
REMOTE_USER
REMOTE_IDENT
REQUEST_METHOD
SCRIPT_FILENAME
PATH_INFO
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:54 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs