[Icecast] Icecast and Apache Proxypass

Pascal Veron pveron
Fri Jul 16 02:38:45 UTC 2004


Hi everybody,

I'm trying to use icecast server behind an Apache proxypass. With this
method, i could use public port 80 for icecast and for my webserver. Icecast
is listening on 192.168.1.101 on port 81 and Apache is listening on * on
port 80. If i request 192.168.1.101:80  proxy directive of Apache redirect
to port 81 (icecast) and that's work well behind firewall.

So It's working well for connection, listening... But i have one big
problem. Deconnection seems to don't work (cause listeners's IP are always
IP of my proxy). I've read on the Apache documentation that the header IP is
rewrite as Via:IP, but Icecast Server seem to not know it, so is there a
method to use this entry instead of IP in Icecast ? Or another method to do
that ?

If you want to test this configuration. Here are an extract of my httpd.conf

*******************************
<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyVia On
</IfModule>

<VirtualHost 192.168.1.100>
ProxyRequests Off
ProxyPass / http://192.168.1.100:81/
ProxyPassReverse / http://192.168.1.100:81/
</VirtualHost>

<VirtualHost 192.168.1.101>
DocumentRoot /var/www/html
</VirtualHost>
*********************************

Pascal



More information about the Icecast mailing list