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 

Tip to "integrate" Icecast with Apache

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



Joined: 13 Jan 2006
Posts: 79

PostPosted: Sun Sep 05, 2010 3:11 pm    Post subject: Tip to "integrate" Icecast with Apache Reply with quote

How to integrate Icecast on subdomain (virtual host) with Apache and dropping out real port Icecast uses:
http://blogs.linux.ie/fuzzbucket/2008/04/12/proxying-icecast-through-apache2-another-mini-howto/

So how this works?
Let's say you have domain example.org, and your server on that address is running Apache for web services. All www.example.org and example.org are your www-things.
Then, you set up stream.example.org, and point it with A or CNAME record to the same example.org server.
Next thing is to configure Icecast to use localhost (127.0.0.1) and optionally set Icecast's servername to stream.example.org.
Last configuration you do is to add those vhost settings in Apache config and restart Apache.
Now your Icecast should be accessed through Apache, and no need to open external 8000 (or whatever) port in your firewall. Only internal 8000 will be needed to open if it isn't already open.
So you need only external port 80 open, and a subdomain for Icecast to use.
Your Icecast-stream will look like regular file on your listening url, for example http://stream.example.org/mountpoint.aac.

Works fine, only negative thing is that I now see listeners coming from 127.0.0.1 and don't see their real IP's. So not sure if there are multiple connections from same real IP. If you need country-specific restrictions for listeners, you need to manage them for Apache or firewall software.
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