[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Real Server Basic on RaQ4r
- Subject: Re: [cobalt-users] Real Server Basic on RaQ4r
- From: <elmer@xxxxxxxxxxxxxx>
- Date: Wed Apr 18 02:29:12 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Wed, 18 Apr 2001, Chih-Lung Lin wrote:
} do? Do I need to install RealServer or I need to make some changes on
} httpd. I have been searching for the answer for a long time. Please help
} me. Thanks a lot.
I can't recall if the default mime.types file on Cobalt's
contains the mime types for RealAudio so I'll start at the
beginning.
Check your /etc/httpd/conf/mime.types file for the following
entries:
audio/x-pn-realaudio ram
audio/x-realaudio rm
I believe you'll find them there, I just can't say for sure
as I always replace the default file with one of my own. Thus it
won't hurt to check.
Then just put your ra file on the server somewhere in a web
accessable directory. Then create a metafile (simple text file).
Normally I name these the same as the rm file - but use the ram
extension. In order words, if the audio/video file you put on the
server is named wiggle.rm, pull up Pico or Vi and create a file
named wiggle.ram which contains the URL of the rm file, ie:
http://www.domain.com/directory/wiggle.rm
All you need is that one line. Make sure you have a hard
carriage return at the end of the line (hit 'enter' once or twice
after the final m in the line above). I'd recomend storing it/saving
it in the same directory where you put the rm file.
Then link the applicable page or point your web browser at:
http://www.domain.com/directory/wiggle.ram
The situation is this. By default browsers will try to load
the file rather than direct it to the proper plugin. Thus a metafile
is needed. The browser downloads it, it calls the audio/video file
and then everything works as it should.
While the metafiles are different for each type of stream,
you can quickly and easily stream RealAudio, Windows Streaming Media
and MP3s via HTTPD in this manner.
brent