[K12OSN] Streaming server-Apache rewrite question
Roger
roger.in.eugene at gmail.com
Tue Jan 23 23:42:16 UTC 2007
Trying to setup a streaming server for the video and audio files.
Figured it would be fairly straightforward.
trying this rewrite rule in httpd.conf, but no go.
RewriteRule ^/~(.*)/(.*\.(mov|qt))
rtsp://OTHER-SERVER:7070/staff/$1/$2 [NC,NS,L,T=video/quicktime]
I've tried with and without the Type changing. I've tried with RTSP
and with HTTP. No luck.
With HTTP, and if I go to http://Main-server/~user/movie.mov the
rewrite works and takes me to
http://other-server:7070/staff/user/movie.mov but fails with a server
error. IF I have the RTSP: rewrite, it just fails.
Why don't we just stream the video from the same server? I don't know.
I thought at first it had to do with the mime type, hence the
T=video/quicktime part of the re-write, but that didn't seem to help
the problem.
Does someone want to point out the stupid thing I'm doing (how's that
for a chance), or give me pointers on a better way? I think by
putting the link as rtsp://other-server/.... it works, but we were
trying to make it easy for the students.
plus, the rewrite method would force the use of the streaming server
if they *didn't* put rtsp://other-server.. as the embedded object.
My forehead is flat from slamming my head into the table, if I need to
clarify something, just ask.
Roger
More information about the K12OSN
mailing list