HEAD
bug fixed in error messages. Before it didn't recognize
a HEAD request on error messages - they were all followed by a entity body
x-png
to png
x-compress
and x-gzip
encodings to no longer contain the x-
Via
header in proxy mode so that we don't replace
User-Agent
anymore
Connection
and Keep-Alive
in proxy mode.
This is a requirement for correct behavior with persistent connections in
HTTP/1.1
BUILD linemode | daemon | library
to build a specific component. The default action is to build all three parts. BUILD is now also provided in a Bourne Shell version
as a new configuration directive. It specifies a common time/date extension for all the logfiles. Spaces in the format are converted to `_`
DirAddHref
directive by Guenther Fisher.
ParentUserId
and
ParentGroupId
to set the uid and gid of the parent process right after binding to port
(some people complained that setuid()
is slow on certain systems).
CacheLastModifiedFactor
is Off
then
CacheDefaultExpiry
is used instead of zero LM factor.
CacheRefreshInterval
for specifying the maximum allowed
time between consecutive up-to-date checks regardless of expiry date. This
is good for cases when it is vital to always have the most up-to-date information
even if expiry date has been approximated to be too far off.
CacheDefaultExpiry
time no longer defaults to non-zero for FTP
or Gopher - it is always zero. I am thus forcing proxy maintainers explicitly
set these values if they want to have FTP and Gopher cached.
Map
'pings onto a WAIS URL. Now it's possible to run
httpd
as a WAIS gateway as well as a WAIS proxy.
last-modified
fields confusing the
caching system.
Map
'ped by the rule system
as they came in; this will fix the problems with servers that insist on having
their URL's encoded in a special, non-canonical form (e.g.
dranet.dra.com
).
ProxyAccessLog
(new & broken in pre4).
CacheDefaultExpiry
,
CacheUnused
and CacheClean
are now matched so that
the first match is used, not the last one, e.g.:
CacheDefaultExpiry */cgi-bin/* 0 CacheDefaultExpiry */htbin/* 0 CacheDefaultExpiry * 12 hours
now works as expected.
WWW/All/XXX/Makefile.include
, and then doing the normal BUILD
in directory WWW
.
KeepExpired
directive;
if turned On
the proxy will not remove expired HTTP documents
from the cache during regular garbage collection but use up all the cache
space, thus increasing the effectiveness of if-modified-since [documents
that have expired are still usually not modified and become valid again after
a check from remote server].
ProxyAccessLog
for logging proxy accesses, i.e. accesses
that were not satisfied by the server in normal HTTP server mode, but required
an external connection from the proxy server.
FTPDirInfo Top | Bottom
| Off
directive for specifying the placement of FTP messages in FTP
directory listings.
DirShowHTMLTitles Off
can be used to disable HTML TITLEs in the
directory listings.
Linger On
enables it again.
pub/www/src
) gets
moved when a link in that listing is followed (e.g. to
pub/www/src/.cache_dirindex
), a correct entry is now written
to .cache_info
file, so that index no longer expires immediately.
MaxContentLengthBuffer
size was exceeded).
DNSLookup
directive
for disabling the reverse DNS lookup to find out the remote DNS hostname
for cases when DNS seems to be a bottleneck. Disabling this will naturally
prevent the use of DNS name templates in access control, and results in plain
IP numbers in the logfiles.
ServerType StandAlone
| Inetd
directive to select the server type. If not set will default
to StandAlone
if
Port
is defined or
-p
option used, otherwise to Inetd
.
Pragma: no-cache
supported; by sending this header to the proxy
the client will force it to refresh its cache from remote server. Pragma
headers are also forwarded to the remote server.
-restart
option - httpd
will find out the actual
server process number and send s HUP signal to it to make it reload its
configuration files; note that httpd
must still have the same
configuration file command line parameters (-r
options) as
the actual server (so it finds out the ServerRoot and PidFile).
LogFormat
directive:
LogFormat old
Pass http://*/* /mirror/*/http/*
Clearly the first asterisk should rather match only the hostname, and not the entire path except the filename.
Map /* /foo/bar/*
does not match user-supported directories, but:
Map /~* /Webs/users/*
does match them.
Protect
'ed.
.htm
and .htmls
to the default set
of known suffixes.
CacheSize 150 M CacheLimit_1 100 K CacheLimit_2 2 M
The numbers still have to be cardinals.
MaxContentLengthBuffer
directive to specify the maximum bytecount
for the proxy to buffer in order to find out the content-length for the client
- content-length is always calculated for the logs, but the user
migth interrupt the connection if nothing seems to be happening, even though
it is the proxy that is just buffering the entire file in order to find out
the content-length before actually sending it to the client.
HEAD
work always, even on proxy with other protocols (FTP,
Gopher...).
httpd
will retry PORT.
ScriptTimeOut
- scripts that do not finish in this amount
of time will be killed by httpd
. Default value is 5 minutes.
.cache_info
files sometimes being unwritable
to actual caching processes).
CacheOnly
directive for specifying a set of URLs that should
be cached (for cases when there are only a few sites that should be cached).
DELETE-Script
directive for specifying the CGI script
to handle DELETE
method.
NoProxy
directive to allow the proxy to do direct access to
some servers instead of connecting to another proxy server (contains a list
of domain names). This works exactly like the no_proxy
environment
variable on clients. (Thanks to Rainer Klute for the patch!) This is only
necessary when running multiple proxy servers that connect to each other.
CacheDefaultExpiry
).
GcReqInterval
and GcTimeInterval
- not very good
criteria to start doing garbage collection (GcDailyGc
is better,
giving the actual time to lauch gc)
-a
and -R
options (never used).
BodyTimeOut
replaced by ScriptTimeOut
include
s from Makefiles (not supported by all the
make
s).
#elif
preprocessor directive removed (wasn't supported by all
the HP preprocessors)