LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Apache Migration/Compatibility (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=24)
-   -   rewrite rule problem (http://www.litespeedtech.com/support/forum/showthread.php?t=4983)

felosi 05-14-2011 07:56 PM

rewrite rule problem
 
i recently setup lighttpd on another ip for a client running litespeed as litespeed cant handle the flv_streaming or no equivalent. Anyway, the tube site used to be on site.com/tube , now its on tube.site.com. i put a redirect rule in htaccess like this
Redirect 301 /tube http://tube.site.com

It works right after litespeed is started or after I edit the .htaccess but a few minutes later it stops working.

Any idea what this could be?

NiteWave 05-14-2011 08:49 PM

Quote:

as litespeed cant handle the flv_streaming or no equivalent.
No. Litespeed support flv streaming. and lsws 4.1 suport mp4 streaming as well.
refer wiki for detail:
http://www.litespeedtech.com/support...:flv_streaming
http://www.litespeedtech.com/support...:mp4_streaming

felosi 05-14-2011 09:53 PM

Quote:

Originally Posted by NiteWave (Post 26180)
No. Litespeed support flv streaming. and lsws 4.1 suport mp4 streaming as well.
refer wiki for detail:
http://www.litespeedtech.com/support...:flv_streaming
http://www.litespeedtech.com/support...:mp4_streaming

Well that wasnt the issue, htaccess rewrite was. it would work right after updating the file or restarting litespeed but a few minutes later it would not. i fixed this by putting the redirect in httpd.conf instead of .htaccess

And as far as the flv_streaming. It sure doesnt work default and the script Im using i think requires the secdownload feature as well to work. Would be nice to know how to get it working but all tests we done on litespeed with the script it could not do seek and such streaming features.

Maybe requires some modification or something, no idea but we tried litespeed for it and didnt work. Ill post the config here later and see what was needed.

NiteWave 05-14-2011 10:25 PM

the simplest way is to use jwplayer, and test with following code:
Code:

<embed
      flashvars="file=yourvideo.mp4&provider=http&http.startparam=start"
      id="player2" name="player2"
      width="320" height="240"
      src="player.swf"
      allowfullscreen="true"
      allowscriptaccess="always"
      wmode="transparent"
/>

player.swf is jwplayer. above code is to test .mp4 for lsws 4.1.
to test .flv, just change yourvideo.mp4 to yourvideo.flv

the video stream as well random seek, will be working.


All times are GMT -7. The time now is 10:17 PM.