Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-15-2003, 03:23 AM   #1
jennycards
Confirmed User
 
Join Date: Feb 2002
Location: European Union
Posts: 1,124
.htaccess and QuickTime question

Hi!

Playing around with .htaccess we had to find out that the activeX to play Quicktime .mov files does not transmit the http referer on Windows browsers. It does however transmit referers on Macintosh browsers.

Anybody else noticed that before ... and has got a solution?

Thank you!
jennycards is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2003, 03:27 AM   #2
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
do you mean if you have your QT movies in a password protected directory that if I have the URL of the movie file I can see it without being prompted for a username and password?

never noticed that.
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2003, 03:42 AM   #3
jennycards
Confirmed User
 
Join Date: Feb 2002
Location: European Union
Posts: 1,124
No, it means that when I have a .htaccess file that tries to test for hotlinked movies I am not able to catch "no referers" because even properly linked movies have "no referer".

Normally I would expect my .htaccess to work like this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://.*mydomain\.com*$ [NC]
RewriteRule \.mov$ http://www.mydomain.com/forbidden.mov [R,L]

But it does not work like this because on some browsers I _never_ receive a request with mydomain.com as a referer.

Instead I have to do it like this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://.*mydomain\.com*$ [NC]
RewriteRule \.mov$ http://www.mydomain.com/forbidden.mov [R,L]

But this is dangerous because every user entering my .mov URL directly would get the movie.
jennycards is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2003, 04:13 AM   #4
x3m
Confirmed User
 
Join Date: May 2001
Posts: 254
We have the solution. Let me know if you have any questions. [email protected]
x3m is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2003, 04:41 AM   #5
jennycards
Confirmed User
 
Join Date: Feb 2002
Location: European Union
Posts: 1,124
Quote:
Originally posted by x3m
We have the solution. Let me know if you have any questions. [email protected]
Thank you ... going to check it out.
jennycards is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.