Icecast URL Auth

From Giss
Revision as of 20:15, 29 July 2007 by Sergio (talk | contribs) (New page: Draft to authenticate sources against mysql <mount> <mount-name>/*.ogg</mount-name> <authentication type="url"> <option name="stream_auth" value="htt...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Draft to authenticate sources against mysql

   <mount>
        <mount-name>/*.ogg</mount-name>
        <authentication type="url">
            <option name="stream_auth"    value="http://server/script.php"/>
       </authentication>
   </mount>

One script.php to allow all mounts and user/pass could be:

<?php
header('icecast-auth-user: 1');
?>