LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > rewrite rule problem

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2011, 07:56 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Default 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?
Reply With Quote
  #2  
Old 05-14-2011, 08:49 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
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
Reply With Quote
  #3  
Old 05-14-2011, 09:53 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Quote:
Originally Posted by NiteWave View Post
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.
Reply With Quote
  #4  
Old 05-14-2011, 10:25 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
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.

Last edited by NiteWave; 05-14-2011 at 10:28 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:18 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.