Internal HTTP server

### Index Up << >>

## Internal HTTP server

If you contact the socket directly (only for INET-domain sockets), MiniVend will perform the HTTP server function itself, talking directly to the browser. It can monitor any number of ports and map them to a particular catalog; by default it only maps the special catalog mv_admin, which performs administrative functions. The default port is 7786 (ASCII for M an V), which is the default compiled into the distribution tlink program. You can change this port via the TcpMap directive.

To prevent catalogs that do not wish access made in this way from being served from the internal server, MiniVend has a fixed SCRIPT_PATH of `/catalogname` (/simple for the distribution demo) which needs to be placed as an alias in the Catalog directive to enable access. See TcpMap for more details.

### Index Up << >>