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 

Handling errordocuments

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
epe
Asesor espaņol
Asesor espaņol


Joined: 27 Aug 2005
Posts: 132
Location: Quito - Ecuador

PostPosted: Tue Mar 24, 2009 12:19 pm    Post subject: Handling errordocuments Reply with quote

hi
I would like to catch 401's errors and send them to an audio stating that the steam has not been found, etc.

I created an .htaccess inside web/ dir of icecast with the following info inside:

errordocument 401 http://my.server.com:8000/someaudio.mp3

the audio exist and can be listened if clicked on the url, however icecast seems not to handle htaccess files. Is there a way for icecast to interpret htaccess? if not: can I somehow handle 401 errors on icecast?

thanks!
_________________
--
http://www.NuestroServer.com
USA: +1 305 359 4495, Espaņa: +34 911 877 602
Ecuador: +593 2 600 4454
Se habla espaņol
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gee2803



Joined: 11 Aug 2006
Posts: 48

PostPosted: Sun Mar 23, 2014 12:04 pm    Post subject: Reply with quote

I am also interested in this. I would like to forward 404 to a specific mountpoint.

http://icecast.imux.net/viewtopic.php?t=8080
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Mar 23, 2014 7:14 pm    Post subject: Reply with quote

401 is typically on listener auth failure. With the KH build auth, a Mountpoint: header could be returned to send the listener to the file in question. 404 could be handled with a wildcard mount

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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