[Icecast-dev] Authentication
Geoff Shang
geoff at hitsandpieces.net
Wed Mar 1 23:00:34 PST 2006
Karl Heyes wrote:
>> I wanted to have localhost:8000/stream/directory/directory/file use
>> add_listener directive to 8000action.php and
>> localhost:8001/stream/directory/directory/file use add_listener direct to
>> 8001action.php both with an alias of /file.ogg but on 8000 and 8001. Does
>> this
>> need to happen on two instances of icecast running simutaniously or can I
>> do
>> this on one?
>
> if you have one icecast listening on both ports then those urls refer to the
> same file, it's not an alias.
It would be if you made it one.
> The port that the connection came in is not
> currently passed, that could be done I guess.
Actually, it is. You can specify a port in an alias.
We do it in the following example to provide backward compatibility with
old shoutcast-style setups which some might still have bookmarked:
<!-- Aliases: treat requests for 'source' path as being for 'dest'
path
May be made specific to a port or bound address using the
"port"
and "bind-address" attributes.
-->
<alias source="/" port="6246" dest="/mainstream"/>
<alias source="/" port="7464" dest="/cafe"/>
<alias source="/" port="7664" dest="/cafe-low"/>
<alias source="/" port="37262" dest="/trove"/>
<alias source="/" port="8000" dest="/acbri"/>
Geoff.
More information about the Icecast-dev
mailing list