webmaster at berean-biblechurch.org
2019-Mar-20 01:41 UTC
[Icecast] can admin folder render HTML files?
I put a custom HTML file in the admin folder, but when I login to the admin interface then browse to it (e.g., http://server:8000/admin/mypage.html), I get "400 - UNRECOGNISED COMMAND". Is admin (or the admin folder) able to render only the standard Icecast files? I'm using 2.4.4 on Windows 10. Thanks, Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20190319/097549a0/attachment.html>
Hi Justin, El mar, 19-03-2019 a las 20:41 -0500, webmaster at berean-biblechurch.org escribió:> I put a custom HTML file in the admin folder, but when I login to the > admin interface then browse to it (e.g., http://server:8000/admin/myp > age.html), I get "400 - Unrecognised command". Is admin (or the > admin folder) able to render only the standard Icecast files? > I'm using 2.4.4 on Windows 10. > Thanks, > JustinI do not know how to answer your question, but something that may help you, in Debian GNU/Linux the path to an custom HTML file is /usr/share/icecast2/web/index.html and it is accessed with http://server:8000/index.html. Regards. José Luis> _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
Good Afternoon, On Tue, 2019-03-19 at 20:41 -0500, webmaster at berean-biblechurch.org wrote:> I put a custom HTML file in the admin folder, but when I login to the > admin interface then browse to it (e.g., > http://server:8000/admin/mypage.html), I get "400 - UNRECOGNISED > COMMAND". Is admin (or the admin folder) able to render only the > standard Icecast files? > > I'm using 2.4.4 on Windows 10.For Icecast admin/ is a special and protected space. What is there are registered commands. This is what makes it unlike web/, which is files you put in. The files in the physical admin/ directly actually only serve as templates for rendering HTML from those registered commands. But they still directly correlate to those commands. If you want to serve static files, please use web/. There is also web/assets/, depending on what kind of files you have. With best regards, -- Philipp Schafft (CEO/Geschäftsführer) Telephon: +49.3535 490 17 92 Löwenfelsen UG (haftungsbeschränkt) Registration number: Bickinger Straße 21 HRB 12308 CB 04916 Herzberg (Elster) VATIN/USt-ID: Germany DE305133015 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: <http://lists.xiph.org/pipermail/icecast/attachments/20190320/e77888f1/attachment.sig>
webmaster at berean-biblechurch.org
2019-Mar-20 22:25 UTC
[Icecast] can admin folder render HTML files?
Thank you Philipp. That's what I needed to know. Justin On 2019-03-20 10:37, Philipp Schafft wrote:> Good Afternoon, > > On Tue, 2019-03-19 at 20:41 -0500, webmaster at berean-biblechurch.org > wrote: >> I put a custom HTML file in the admin folder, but when I login to the >> admin interface then browse to it (e.g., >> http://server:8000/admin/mypage.html), I get "400 - UNRECOGNISED >> COMMAND". Is admin (or the admin folder) able to render only the >> standard Icecast files? >> >> I'm using 2.4.4 on Windows 10. > > For Icecast admin/ is a special and protected space. What is there are > registered commands. This is what makes it unlike web/, which is files > you put in. > > The files in the physical admin/ directly actually only serve as > templates for rendering HTML from those registered commands. But they > still directly correlate to those commands. > > > If you want to serve static files, please use web/. There is also > web/assets/, depending on what kind of files you have. > > With best regards, > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast