Jump to content

[SOLVED] Hide url from users?


L

Recommended Posts

I need it done without flash though...would mod rewrite work?

 

I'm not sure how to do it though if possible...like it would rewrite anything like

multimedia/video/video1.flv to http://sitewithvideo.com/video/186404.flv

 

RewriteRule multimedia/(.*)/(.*)/  http://sitewithvideo.com/$1/$2&

yeah, the reference is

%{HTTP_REFERER}

 

ReWriteRule ^/stuff/(*.flv) %{HTTP_REFERER}/videos/$1

 

 

 

in your links, you would use /stuff/whatever.flv

but you would put the files in /videos

 

this may need some tweaking.

 

there is probably an even better way by simply testing to see if referer is your site.

 

I'm still experimenting with htacces so this is what I put:

ReWriteRule /(*.flv) %{HTTP_REFERER}/multimedia/$1

/(flv) is to mark all the files on the video site

 

/refer/multimeda/ is where the request is coming from which is

http://infinitevortex.net/multimedia/video.php?flv=g14.flv

 

and when I put it in it gave me a 500 server error..help?

I'm still experimenting with htacces so this is what I put:

ReWriteRule /(*.flv) %{HTTP_REFERER}/multimedia/$1

...

and when I put it in it gave me a 500 server error..help?

try

#If you didn't already turned on the RewriteEngine. Otherwise you can leave it out
RewriteEngine On
RewriteRule /(.+\.flv) %{HTTP_REFERER}/multimedia/$1

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.