.htaccess on apache not finding file
I have been trying to get a video to stream but be secure at the same
time. So far everything works great - except the .htaccess part!
I've used the following sites as reference
Flowplayer Secure Streaming with Apache
http://flowplayer.blacktrash.org/secure-http.html
and
http://www.gpeopl.es/?p=618
It's more or less all based on the last link. What happens is that when I
put in the .htaccess rules such as
RewriteEngine on
RewriteRule ^(.*)/(.*)/(.*)$
http://localhost/vidoeos/video.php?h=$1&t=$2&v=$3
RewriteRule ^$ - [F]
RewriteRule ^[^/]+\.(mov|mp4)$ - [F]
the file isn't found when streaming - and it cant be downloaded either.
When .htaccess is removed it streams fine, but can also be downloaded
(which makes sense).
The strange part is, all the above examples get the video to stream fine,
but also restrict access to the file, I'm not sure what I'm doing wrong.
If anyone could help with this - it'd be greatly appreciated!
No comments:
Post a Comment