 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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
|
| |
March 27th, 2006, 08:10 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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 |
| |
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
|
| |
March 27th, 2006, 03:10 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
March 29th, 2006, 07:55 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
March 29th, 2006, 09:34 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,685
| Code: Content visible to verified customers only.
|
| |
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
|
| |
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
|
| |
March 29th, 2006, 10:10 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
March 29th, 2006, 02:11 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,685
|
No there is not
|
| |
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
|
| |
March 29th, 2006, 04:45 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:14 AM. | |