Annotation of embedaddon/mpd/doc/mpd41.html, revision 1.1

1.1     ! misho       1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
        !             2: <HTML>
        !             3: <HEAD>
        !             4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
        !             5: <TITLE>Web server</TITLE>
        !             6: </HEAD>
        !             7: <BODY text="#000000" bgcolor="#ffffff">
        !             8: 
        !             9: <A HREF="mpd.html"><EM>Mpd 5.6 User Manual</EM></A>
        !            10:  <b>:</b> <A HREF="mpd17.html"><EM>Configuring Mpd</EM></A>
        !            11:  <b>:</b> <EM>Web server</EM><BR>
        !            12: <b>Previous:</b> <A HREF="mpd40.html"><EM>Control console</EM></A><BR>
        !            13: <b>Next:</b> <A HREF="mpd42.html"><EM>Device Types</EM></A>
        !            14: 
        !            15: 
        !            16: <HR NOSHADE>
        !            17:   <H2><A NAME="41"></A>4.16. Web server<A NAME="web"></A></H2>
        !            18: <p>Mpd provides HTTP interface for monitoring and control purposes.
        !            19: This chapter describes commands for configuring Mpd's web server.</p>
        !            20: <p>
        !            21: <dl>
        !            22: 
        !            23: <dt><b><code>set web open</code></b><dd><p>Opens the web server, i.e., creates the listening TCP socket.</p>
        !            24: 
        !            25: <dt><b><code>set web close</code></b><dd><p>Closes the web server, i.e., closes the listening TCP socket.</p>
        !            26: 
        !            27: <dt><b><code>set web self <em>ip</em> [ <em>port</em> ]</code></b><dd><p>Sets the credentials for the web-listener. After changing one of these
        !            28: options, the web must be closed and re-opened for the changes to
        !            29: take effect.</p>
        !            30: <p>The default is '127.0.0.1 5006'.</p>
        !            31: 
        !            32: </dl>
        !            33: </p>
        !            34: 
        !            35: 
        !            36: <p>
        !            37: <dl>
        !            38: 
        !            39: <dt><b><code>set web enable <em>option ...</em><br>
        !            40: set web disable <em>option ...</em></code></b><dd><p>These commands configure various web server options.</p>
        !            41: 
        !            42: <p>The <code><b>enable</b></code> and <code><b>disable</b></code> commands determine
        !            43: whether we want the corresponding option.</p>
        !            44: <p>The options available for the web are:</p>
        !            45: 
        !            46: <dt><b><code>auth</code></b><dd><p>This option enables basic authorisation on web server.</p>
        !            47: <p>The default is enable.</p>
        !            48: 
        !            49: </dl>
        !            50: </p>
        !            51: <p>You can send any set of command allowed by privileges via WEB server for mpd
        !            52: infrastructure integration. Depending on URL used mpd supports two response
        !            53: formats: text/html (/cmd?command1&amp;...) and text/plain (/bincmd?command1&amp;...).</p>
        !            54: 
        !            55:  <HR NOSHADE>
        !            56: <A HREF="mpd.html"><EM>Mpd 5.6 User Manual</EM></A>
        !            57:  <b>:</b> <A HREF="mpd17.html"><EM>Configuring Mpd</EM></A>
        !            58:  <b>:</b> <EM>Web server</EM><BR>
        !            59: <b>Previous:</b> <A HREF="mpd40.html"><EM>Control console</EM></A><BR>
        !            60: <b>Next:</b> <A HREF="mpd42.html"><EM>Device Types</EM></A>
        !            61: 
        !            62: 
        !            63: 
        !            64: </BODY>
        !            65: </HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>