[Top] [Prev]

httpd

httpd, echo, stats - HTTP server

Synopsis

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

Description

httpd

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.

Options
-c cachesize

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

-D

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

echo

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

stats

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

Files
/services/httpd/logs/httpd.debug

Logfile for debugging information.

/services/httpd/logs/httpd.log

httpd logfile.

/services/httpd/logs/httpd.rewrite

File to redirect specific URI requests.

/services/httpd/logs/httpd.suff

File of recognizable suffixes and their content type.



[Top] [Prev]

infernosupport@lucent.com
Copyright © 1996,Lucent Technologies, Inc. All rights reserved.