[asterisk-users] how to read mp3
salaheddine elharit
salah.elharit200 at gmail.com
Tue Jan 18 11:43:19 CST 2011
Thank you so much for your response I will try this operation and I will
update you as soon as I have any result
2011/1/18 A J Stiles <asterisk_list at earthshod.co.uk>
> On Tuesday 18 Jan 2011, salaheddine elharit wrote:
> > yes i want to know how can i do in order to read this files using apche
>
> Either make a symbolic link to the location of the files from somewhere
> Apache
> knows about, using something like
> # ln -s /path/to/files /path/to/webroot/mp3files/
> and set its ownership using
> # chown -h user:group filename
> (Apache will only follow links if both ends are owned by the same user) or
> (possibly better) write a simple script which will read the file from its
> own location and display it on STDOUT. If doing this you will need at
> least
> a content-type: header and maybe a content-length: header (you're probably
> going to need this anyway in order to be sure you read in the whole file);
> then a single blank line with just a \n; then the actual contents of the
> file
> itself.
>
> --
> AJS
>
> Answers come *after* questions. It's really not hard.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110118/34fcd2ea/attachment.htm>
More information about the asterisk-users
mailing list