Hi out there!
I?ve set up an Icecast2 (2.2.0) Win32 Server with oddcast DSP 2.0.15
The basics (a simple stream in .ogg) works realy fine. But now I would like to
add authentication. So I set up the <mount> section in the icecast-config.
It looks like this now:
<icecast>
<limits>
<sources>2</sources>
</limits>
<authentication>
<source-password>pass</source-password>
<relay-password>pass</relay-password>
<admin-user>admin</admin-user>
<admin-password>pass</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>7083</port>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1
Error -->
</logging>
<mount>
<mount-name>/stream.ogg</mount-name>
<authentication type="htpasswd">
<option name="filename"
value="passdb"/>
<option name="allow_duplicate_users"
value="0"/>
</authentication>
</mount>
</icecast>
When I go to http://localhost:7083/admin/ I see all like explaind in the
documentation. I click on "Manage Authentication" and can set up users
and passwords. All looks working fine.
But when I log on as user at http://localhost:7083/ and try to open the stream
by "Click to Listen" I get a HTTP 404 Error - Page not found! The Link
"Click to Listen" refers to http://localhost:7083/auth.xsl but this
file does not exist. I?ve checkt out als dirs.
What the problem? Anything wrong in my configuration?
____________
Virus checked by dkct01.dkct.local
Version: AVK 15.0.3582 from 11.03.2005
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xiph.org/pipermail/icecast/attachments/20050311/ffbbe836/attachment.html
Dennis Engel wrote on Fri, 11 Mar 2005 11:49:18 +0100:> <authentication> > <source-password>pass</source-password> > > <relay-password>pass</relay-password> > > <admin-user>admin</admin-user> > > <admin-password>pass</admin-password> > </authentication>Made my own first test with authentication only a few days ago. I wasn't aware I can do it like above and have separate admin users for different mount points. I just used <username>source</username> <password>some pass</password> which I took right from the icecast.xml example. I'm gonna try it out like you described. If that works, it's much better.> But when I log on as > user at http://localhost:7083/ and try to open the stream by "Click to > > Listen" I get a HTTP 404 Error - Page not found! The Link "Click to > Listen" refers to > http://localhost:7083/auth.xsl but this file does > not exist. I?ve checkt out als dirs.It only exists when a stream is connected. Start streaming and then connect a few seconds later. Then it should work. Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com IE-Center: http://ie5.de & http://msie.winware.org
Kai Schaetzl wrote:>Made my own first test with authentication only a few days ago. I wasn't >aware I can do it like above and have separate admin users for different >mount points. I just used ><username>source</username> ><password>some pass</password> >which I took right from the icecast.xml example. I'm gonna try it out like >you described. If that works, it's much better. > > >You've got things wrong here. The authentication Dennis describes is listener authentication and not source authentication.>It only exists when a stream is connected. Start streaming and then >connect a few seconds later. Then it should work. > > >No, it should always exist. but there should be no link if there is no stream provided. I have no idea really why you have no such file. what is your webroot specified as? it should be in that dir. /Jonas
Kai Schaetzl wrote:> Made my own first test with authentication only a few days ago. I wasn't > aware I can do it like above and have separate admin users for different > mount points.You can't. The per mount authentication is for listener authentication, not admin. Geoff.