In the Photopost Important Tips the instructions below are giving. Question though, do I edit the data .htaccess or the fullsized .htaccess from within the Photopost Admin?
Quote:
2.) Prevent Bandwidth Stealing
Often times users will embed links to images within html pages or forum posts on other sites, which causes your server to use up bandwidth delivering their images to every visitor to that forum or HTML page where the user embedded the image. To prevent that, here's one implementation.
If your server supports .htaccess files, create a file called .htaccess in your PhotoPost 'data' directory and put the following in it:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*YOUR DOMAIN* [NC]
RewriteRule /* http://%{HTTP_HOST}/Your PhotoPost directory/index.php [R,L]
Change "YOUR DOMAIN" to your website's domain name. For TechIMO.com, that line would read: RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*techimo.com* [NC]
Change "Your PhotoPost directory" to the name of your photopost directory. For example, TechIMO.com's installation of PhotoPost is accessible via http://www.techimo.com/photo/index.php, so for us that line would read: