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 

[solved] response header on failed authentication

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



Joined: 03 Feb 2012
Posts: 2
Location: Moscow, Russia

PostPosted: Sun Feb 05, 2012 7:45 am    Post subject: [solved] response header on failed authentication Reply with quote

Hi

i'm using icecast server with URL authentication
clients connect by flash player using some session keys

the problem is:
client browser repeatedly asks for username/password on each failed URL authentication. this doesn't allow to refresh session key.

so the question: is it possible to send header 403 instead of 401 for example. To notify about auth problem instead of asking unknown login/password.

thanks for advance
Ilya


Last edited by i1ya on Thu Feb 09, 2012 11:23 am; edited 1 time in total
Back to top
View user's profile Send private message
i1ya



Joined: 03 Feb 2012
Posts: 2
Location: Moscow, Russia

PostPosted: Thu Feb 09, 2012 11:22 am    Post subject: fixed Reply with quote

sending response to icecast server i've included redirect header to different error page with 403 error code in header.

so icecast just transfers this page to client and finally player (and browser) get page with error code 403 instead of 401 and don't ask for login/password anymore.
Back to top
View user's profile Send private message
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