Mhttpd: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The mhttpd utility runs the MIDAS [[Web Server]]. | == Description == | ||
The <span style="color:darkcyan;">''mhttpd''</span> utility runs the MIDAS [[Web Server]]. | |||
It requires the TCP/IP port number as an argument in order to listen to the web-based request. | It requires the TCP/IP port number as an argument in order to listen to the web-based request. | ||
Arguments | == Arguments == | ||
[-h] : connect to midas server (mserver) on given host | [-h] : connect to midas server (mserver) on given host | ||
Line 15: | Line 16: | ||
[-help] : display usage information | [-help] : display usage information | ||
Usage | == Usage == | ||
mhttpd [-h Hostname] [-e Experiment] [-p port] [-v] [-D] [-c] [-a Hostname] | mhttpd [-h Hostname] [-e Experiment] [-p port] [-v] [-D] [-c] [-a Hostname] | ||
Line 21: | Line 22: | ||
mhttpd -p 8081 -D | mhttpd -p 8081 -D | ||
== Multiple copies == | |||
Several copies of <span style="color:darkcyan;">''mhttpd''</span> can run on a single host, as long as they are started on different ports. | |||
If more than one experiment runs on the same host, a server for each experiment must be started on a different port, e.g. | |||
mhttpd -e midas -p 8081 -D | mhttpd -e midas -p 8081 -D | ||
mhttpd -e midgas -p 8082 -D | mhttpd -e midgas -p 8082 -D |
Revision as of 15:07, 15 October 2013
Description
The mhttpd utility runs the MIDAS Web Server.
It requires the TCP/IP port number as an argument in order to listen to the web-based request.
Arguments
[-h] : connect to midas server (mserver) on given host [-e] : experiment to connect to [-p port ] : port number e.g. 8081 (no default) [-v] : display verbose HTTP communication [-D] : starts program as a daemon [-E] : only display ELog system [-H] : only display history plots [-a] : only allow access for specific host(s). Several [-a Hostname] statements might be given [-help] : display usage information
Usage
mhttpd [-h Hostname] [-e Experiment] [-p port] [-v] [-D] [-c] [-a Hostname] e.g. mhttpd -p 8081 -D
Multiple copies
Several copies of mhttpd can run on a single host, as long as they are started on different ports.
If more than one experiment runs on the same host, a server for each experiment must be started on a different port, e.g.
mhttpd -e midas -p 8081 -D mhttpd -e midgas -p 8082 -D