Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

URL Authentication

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Oct 25, 2005 1:39 pm    Post subject: URL Authentication Reply with quote

I'm having problems making url authentication work at all. htpasswd auth works fine, url auth is not even calling the url.

I have tried with icecast 2.3.0 and the kh branch 2.3-kh1.

The script works successfully when called from lynx on the same machine. All I have it doing is creating a file to dump POST vars into then returning the icecast-auth-user header. Neither listening to the stream or using the auth.xsl page is calling the url.

the relevant lines from my config file are:
<authentication type="url">
<option name="add" value="http://<ip address>/add_listener.php"/>
<option name="remove" value="http://<ip address>/del_listener.php"/>
</authentication>

Any info on why this isn't working would be appreciated.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Oct 25, 2005 1:52 pm    Post subject: Reply with quote

The option names were changed before 2.3 was released, maybe you want "listener_add" and "listener_remove"

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Oct 25, 2005 1:56 pm    Post subject: Reply with quote

That's spot on. Thanks.

Just saved me having to add a couple hundred lines to the password file Razz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber