[Icecast] Icecast Won't Authenticate by URL (Previous Threads Didn't Help)

Revence Kalibwani revence27 at gmail.com
Fri Jan 5 12:15:38 UTC 2007


I have this bit in my icecast xml conf:
<mount>
        <mount-name>/sauti</mount-name>
        <authentication type="url">
                <option name="mount_add"           value="
http://baraka/~revence/sauti/notify_mount.php<http://baraka/%7Erevence/sauti/notify_mount.php>"
/>
                <option name="mount_remove"
value="http://baraka/~revence/sauti/notify_rm_mount.php<http://baraka/%7Erevence/sauti/notify_rm_mount.php>"
/>
                <option name="listener_add"
value="http://baraka/~revence/sauti/notify_listener.php
<http://baraka/%7Erevence/sauti/notify_listener.php>" />
                <option name="listener_remove"   value="
http://baraka/~revence/sauti/notify_listener.php<http://baraka/%7Erevence/sauti/notify_listener.php>"
/>
                <option name="auth_header"         value="icecast-auth-user:
1" />
        </authentication>
</mount>

But the mount_add page is not called at any one point. This is what `wget -S
http://baraka/~revence/sauti/notify_mount.php`<http://baraka/%7Erevence/sauti/notify_mount.php%60>returns:

[... snip ...]
HTTP request sent, awaiting response...
 1 HTTP/1.1 200 OK
 2 Date: Fri, 05 Jan 2007 08:06:02 GMT
 3 Server: Apache/2.0.49 (Linux/SuSE)
 4 X-Powered-By: PHP/4.3.4
 5 icecast-auth-user: Not Yet Ready
 6 Connection: close
 7 Content-Type: text/html; charset=ISO-8859-1

So the PHP script would stop icecast from running (by not returning
`icecast-auth-user: 1'), but that doesn't work. I have ensured that the
script works fine, by making it log access.
Save.


-- 
Révènce ...

Les chansons saints de la Révolution Communiste.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20070105/f516a7b0/attachment.htm>


More information about the Icecast mailing list