<div dir="ltr"><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="mso-ansi-language: EN-GB"><font size="3"><font face="Times New Roman">Thank you so much for your response I will try this operation and I will update you as soon as I have any result</font></font></span></p>
<br><br>
<div class="gmail_quote">2011/1/18 A J Stiles <span dir="ltr">&lt;<a href="mailto:asterisk_list@earthshod.co.uk">asterisk_list@earthshod.co.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Tuesday 18 Jan 2011, salaheddine elharit wrote:<br>&gt; yes i want to know how can i do in order to read this files using apche<br><br></div>Either make a symbolic link to the location of the files from somewhere Apache<br>
knows about, using something like<br># ln -s /path/to/files /path/to/webroot/mp3files/<br>and set its ownership using<br># chown -h user:group filename<br>(Apache will only follow links if both ends are owned by the same user)  or<br>
(possibly better)  write a simple script which will read the file from its<br>own location and display it on STDOUT.  If doing this you will need at least<br>a content-type: header and maybe a content-length: header  (you&#39;re probably<br>
going to need this anyway in order to be sure you read in the whole file);<br>then a single blank line with just a \n; then the actual contents of the file<br>itself.<br><font color="#888888"><br>--<br>AJS<br><br>Answers come *after* questions.  It&#39;s really not hard.<br>
</font>
<div>
<div></div>
<div class="h5"><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></div></blockquote></div><br></div>