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 March 26th, 2006, 11:36 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
htaccess

Does Photopost support htaccess? If I have a .htaccess file protecting the data folder, can Photopost still access the file? Just to prevent others from viewing the source, and getting in backwards?

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 27th, 2006, 08:10 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
yes you can enter htaccess in the admin section under htaccess to block accesss

Now note you need to write proper htaccess or you will block everyone including yourself
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 27th, 2006, 02:18 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Under Image Protection I see htaccess settings... What exactly would I do with these? If I enable protection on the data folder, the script inside the .htaccess file is loaded in those boxes (options) although every time someone goes to the tutorials page, they are asked for a password. Isn't Photopost supposed to enter that information in correctly, preventing the user from seeing the password dialog box?

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 27th, 2006, 03:10 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
No we dont enter any htaccess automatically. We give you an editor where you place whatever code you want and we will make an htaccess file from that and place it automatically in the data directory of the photos.

http://www.photopost.com/tipsphp.html

this link should tell you sample htaccess code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 28th, 2006, 10:03 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Problems... Maybe a Bug

Seems to be a problem, maybe even a bug. I've added this htaccess code

Code:
Content visible to verified customers only.
And my movies don't work with the Safari browser, I get the QuickTime logo, and then a question mark through the logo. This means the movie could not be found, but when I try it using FireFox, it works just fine... I've removed the htaccess thing from the site right now, so it won't be reproducable, but I would like to continue protecting the data with .htaccess in the future... Any thoughts?

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 29th, 2006, 07:55 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
I don't think if would be a bug in our program but rather an issue of the htaccess you are using. We give an example on the page I linked of htaccess you can use that is known to work. You need to change the extention types to your video types for things to work since our example has jpg png gif
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 29th, 2006, 08:56 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
I've looked at that tip page, and that is the exact code I'm entering into the htaccess box. Although it does not allow Safari users (even if they are Verified Members) to see the movies. The movies just appear as question marks, basically this means Safari can not access the movies after the protection is in place. Do you have a different htaccess code that we should use, so our Safari users can view the movies that they paid for.

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 29th, 2006, 09:34 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 29th, 2006, 09:55 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Still have the Question Mark

Okay, I used this code in the htaccess file.

Code:
Content visible to verified customers only.
Although Safari can still not open .mov movies.

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 29th, 2006, 09:57 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Problems

Should I switch

Code:
Content visible to verified customers only.
to

Code:
Content visible to verified customers only.
I want people to be able to access the movies on all browsers if they are verified, you helped us with that code. But we would like to protect the movies so people can not bypass the logins... By using htaccess, although with that protection on, Safari users cannot view the movies...

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 29th, 2006, 10:10 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
I would say then your issue is with the Safari browser.

If your trying to prevent people from loading them on other sites I would put all your multimedia extentions in there but I have no comments about the Safari browser since I do not use it I can not comment on its bugs or issues.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 29th, 2006, 01:57 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Is there a way to .htaccess protect the data folder, and have Photopost automatically enter the password in the background when needed? I know other software / download programs use that to protect the main data... Such as RW Download.

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 29th, 2006, 02:11 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
No there is not
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 29th, 2006, 03:43 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 80
Do you know if there is a way to rewrite.

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*xyztraining.com* [NC]
RewriteRule /* http://%{HTTP_HOST}/tutorials/index.php [R,L]


To make this work on Safari?

Thanks,
Paul
paulfletcher is offline   Reply With Quote
Old March 29th, 2006, 04:45 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Do a search on htaccess here on the forums. I am not into htaccess that much and do not use it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Hotlinking and .htaccess tmhall vBGallery Suggestions 25 February 12th, 2008 02:19 AM
.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 09:14 AM.

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