[Icecast] Problem with web services

"Thomas B. Rücker" thomas at ruecker.fi
Wed Mar 26 05:31:34 UTC 2014


On 03/26/2014 04:27 AM, José Luis Artuch wrote:
> Jo se / Thomas
> Ok, I did not know about Icecast2 can also serve web pages, wow ... it
> is very powerful !!

Just to be clear about this, serving files is a dependency functionality
for us.
We need it to e.g. serve the graphics and CSS files for the status
interface. But it's not in any way optimized code and we don't offer any
fancy features for it. So serving some additional files, throwing in a
crossdomain.xml, etc. that's just fine.

But if you want to seriously serve files over http, I'd recommend to
install a  webserver.


> I do not have Ubuntu, but I experimented with Debian. I put in a
> Icecast2 server (server 1) an html page (x.html). In this web page I can
> play without problems a radio station that is hosted on another Icecast2
> server (server 2), 

Yes, you probably put the file either directly in
/usr/share/icecast2/web/ or put a symlink to it there. Isn't it?

Maybe Jo Se will believe you then.


Cheers

Thomas

> El mar, 25-03-2014 a las 22:24 -0400, Jo se escribió:
>> @Thomas, you indeed suggest it and i try it, you gave me two options
>> and i try both, but that doesn't work.
>>
>> Thanks in any case.
>>
>> @José Luis indeed Thomas have right on him's point
>>
>> Any suggestions?
>>
>>
>> On Tue, Mar 25, 2014 at 5:31 PM, "Thomas B. Rücker"
>> <thomas at ruecker.fi> wrote:
>>         On 03/25/2014 09:01 PM, José Luis Artuch wrote:
>>         > Jo se
>>         > Have you properly configured the *web server* (Lighttpd,
>>         Apache, etc.)
>>         > on the Ubuntu server ?.
>>         
>>         
>>         From IRC conversation it seems that he is adding files to the
>>         *Icecast*
>>         webroot.
>>         On Windows and Centos that's easy as that's just ONE
>>         directory.
>>         On Debian and it's ancestors, Ubuntu being one of them, there
>>         are TWO
>>         directories and he put the files in the wrong one of both and
>>         doesn't
>>         symlink them from the right one. I tried to explain this to
>>         him on IRC
>>         and I summarized this here on the mailing list.
>>         
>>         I'd suggest anyone with web serving related problems to look
>>         at the
>>         icecast error.log
>>         On Debian you will find it in /var/log/icecast2/error.log
>>         
>>         Cheers
>>         
>>         Thomas
>>         
>>         > Does that *web server* serve properly an index.html page ?.
>>         > Try to serve a simple html page like:
>>         > <!DOCTYPE html>
>>         > <html>
>>         > <head>
>>         > <meta http-equiv='Content-Type' content='text/html;
>>         charset=utf-8' />
>>         > <title>kultur01</title>
>>         > </head>
>>         > <body>
>>         > <audio autoplay controls>
>>         > <source src='http://yourip:yourport/youraudio.ogg'
>>         type='audio/ogg;
>>         > codecs="vorbis"'>
>>         > <source src='http://yourip:yourport/youraudio.mp3'
>>         type='audio/mpeg;
>>         > codecs="mp3"'>
>>         > </audio>
>>         > </body>
>>         > </html>
>>         > José Luis
>>         >
>>         > El mar, 25-03-2014 a las 15:21 -0400, Jo se escribió:
>>         >> you see, i have 3 icecast servers, one with windows, one
>>         with CentOS
>>         >> and this one with Ubuntu, in the other two the addition of
>>         one Online
>>         >> Radio Player wasn't a problem at all, i just add
>>         another .html page
>>         >> redirected from the main one and it work perfectly.
>>         >>
>>         >> But in the ubuntu one... well, the history is a little
>>         different, and
>>         >> that's why i send this mail.
>>         >>
>>         >> You see, what i'm trying to archieve is know and fix why in
>>         the ubuntu
>>         >> server the added .html page doesn't work at all, but in the
>>         CentOS and
>>         >> the Windows one it does perfectly.
>>         >>
>>         >> That's the thing, in the CentOS, Ubuntu and Windows
>>         the .index is just
>>         >> code, i mean html and a little more of javascript, nothing
>>         more, but
>>         >> why in two of them it works perfectly and in the other
>>         doesn't.
>>         >>
>>         >> Thanks in advance
>>         >>
>>         >>
>>         >>
>>         >> On Tue, Mar 25, 2014 at 10:59 AM, MARŠ - Luka Cvetko
>>         >> <luka at radiomars.si> wrote:
>>         >>         Hello,
>>         >>
>>         >>         2014-03-25 15:43 GMT+01:00 Jo se
>>         <kulturu01 at gmail.com>:
>>         >>                 in fact it doesn't, i try what you suggest
>>         there but
>>         >>                 doesn't work
>>         >>
>>         >>                 i was the same guy than ask that by irc,
>>         and the
>>         >>                 solution he gave
>>         >>                 doesn't work, besides, the only real way to
>>         test it
>>         >>                 with my avaible
>>         >>                 time and without interfere with the airtime
>>         service
>>         >>                 (to do real time
>>         >>                 tests) is through this way
>>         >>
>>         >>                 Thanks in any case
>>         >>
>>         >>         can you please further clarify the issue?
>>         >>         You can access your Icecast2 administration
>>         interface on
>>         >>         http://yourip:8000/
>>         >>         You can access the Airtime administration
>>         interface/login
>>         >>         screen on http://yourip:8080/ (or other port you
>>         set up during
>>         >>         installation).
>>         >>         What are you trying to achieve?
>>         >>
>>         >>
>>         >>         Are you trying to serve a customized page instead
>>         of the
>>         >>         Icecast administration interface?
>>         >>         Are you trying to server your HTML page (in-browser
>>         stream
>>         >>         player) independently of Icecast? If so, I suggest
>>         creating an
>>         >>         entirely separate ghost in Apache, the web server.
>>         Airtime
>>         >>         must have installed it anyways. That way you won't
>>         need to
>>         >>         interfere with any Icecast files.
>>         >>
>>         >>
>>         >>         Kind regards,
>>         >>
>>         >>
>>         >>         --
>>         >>         Luka Cvetko
>>         >>         moderator & tehnik & novinar
>>         >>         Mariborski radio študent
>>         >>         Gosposvetska cesta 87b,
>>         >>         2000 Maribor
>>         >>         T 031 489 089
>>         >>         E luka at radiomars.si
>>         >>         W radiomars.si
>>         >>
>>         >>         _______________________________________________
>>         >>         Icecast mailing list
>>         >>         Icecast at xiph.org
>>         >>         http://lists.xiph.org/mailman/listinfo/icecast
>>         >>
>>         >>
>>         >>
>>         >> _______________________________________________
>>         >> Icecast mailing list
>>         >> Icecast at xiph.org
>>         >> http://lists.xiph.org/mailman/listinfo/icecast
>>         >
>>         > _______________________________________________
>>         > Icecast mailing list
>>         > Icecast at xiph.org
>>         > http://lists.xiph.org/mailman/listinfo/icecast
>>         
>>         
>>         _______________________________________________
>>         Icecast mailing list
>>         Icecast at xiph.org
>>         http://lists.xiph.org/mailman/listinfo/icecast
>>
>>
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast




More information about the Icecast mailing list