[Top] [Prev] [Next]

httpd, echo, stats - HTTP server

httpd [ -c cachesize ] [ -D ]
echo  meth vers uri search 
stats meth vers uri search



The httpd program is an HTTP daemon, serving version 1.0 of the HTTP protocol. It is usually executed in response to an incoming call on TCP port 80, the HTTP port.

The httpd program supports only the GET and HEAD methods of the HTTP protocol. The Content-type (default application/octet-stream) and Content-encoding (default binary) of a file are determined by looking for suffixes of the file name in /http/logs/http.suff.

If the requested URI begins with /magic/, the httpd program loads the module associated with the remaining part of the URI.

-c cachesize

The -c flag is used to set the size of the daemon's cache. The default is a five megabyte cache.


If the -D flag is set, debugging information is written to the file /httpd/httpd.debug. By default, there is no debugging.


The echo program is a trivial server that just returns the method, URI, any search, and the headers sent by the client.


The stats program is an example that queries the cache and returns information to the user about pages stored in the cache.


Logfile for debugging information.


httpd logfile.


File to redirect specific URI requests.


File of recognizable suffixes and their content type.

[Top] [Prev] [Next]

Copyright © 1996,Lucent Technologies, Inc. All rights reserved.