PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 1st, 2006, 06:37 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Posts: 124
Question Edit data .htaccess or fullsized .htaccess?

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:

RewriteRule /* http://%{HTTP_HOST}/photo/index.php [R,L]

If you get a server error, check and make sure that your web host supports the RewriteEngine.
ncangler is offline   Reply With Quote
Old December 1st, 2006, 06:49 PM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
You would modify the data .htaccess; the other .htaccess is if you store your fullsize dimages in a different location from the default.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
htaccess paulfletcher Photopost Pro How Do I...? 14 March 29th, 2006 04:45 PM
.htaccess question Greebo How Do I? - vBulletin 3.0.X 6 May 19th, 2005 12:06 PM
Is this possible with a .htaccess file? Johnny Doomo General Discussion 1 March 31st, 2005 07:42 PM
.htaccess oldengine Bugs From 1.0.0 2 February 14th, 2005 10:03 AM


All times are GMT -5. The time now is 08:33 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0