Rename your old /htbin scripts to end in .pp suffix!
ftp
with binary files work
x-compress
and x-gzip
work correctly
over proxy
http_proxy, ftp_proxy, gopher_proxy
and
wais_proxy
configuration directives cause proxy
to connect to the outside world through another proxy.
Environment variables with the same names have same effects, but
config file is user-friendlier for this.
CacheRoot
directive specifies cache root
directory, and turns on proxy caching.
Cache root directory must be dedicated to httpd
-
all files in there are subject to garbage collection.
CacheSize
directive; cache size should be several
megabytes, 50-100MB should give good results.
Cache may, however, temporarily grow a few megabytes bigger
than specified. Also, space taken up by directories
is not calculated in the current version.
http, ftp, gopher
with GET
method
get cached.
Authorization:
field).
Expires:
header when necessary. Until then, we don't cache
them.)
Expires:
header.
Last-Modified:
is used to
approximate expires. If a file hasn't changed in five
months the chances are it won't change during the next
week. On the other hand, if a file has changed
yesterday, it will probably change again pretty soon.
I know this is heuristic but until all the servers
give Expires:
this works much better than
not using it, so no flames about it.
Last-Modified:
not given use the time
given by CacheDefaultExpiry
directive,
default 7 days.
CacheLockTimeOut
directive (default 20 minutes).
During the lock is in effect, further requests to the same file
get retrieved from the remote host.
GcMemoryUsage
to advice gc about how
radical to be in memory use (more memory => smarter
gc).
GcTimeInterval
, how often to do gc.
GcReqInterval
, after how many requests to
do gc.
CacheLimit_1
, size in KB until which
files are equally valuable despite their size (200K).
CacheLimit_2
, size in KB after which
files get discarded because they are too big (4MB).
CacheClean
, remove all files older than
this (default 21 days).
CacheUnused
, remove all files that have
not been used in this long time (default 14 days).
Referer:
field ends up in error log when a
request fails.
UserId
and GroupId
to set default
uid and gid (used instead of nobody and nogroup).
SuffixCaseSense
configuration
directive.
DirAccess
DirReadme
AccessLog
ErrorLog
LogFormat
LogTime
-vv
command line option for Very Verbose trace
output. Outputs also request headers as they came in.
Otherwise like -v
flag.
Content-Transfer-Encoding
:
Content-Encoding
, although
spec says Content-Transfer-Encoding
;
I now output both
Content-Transfer-Encoding
sometimes
didn't show up although it should have, fixed.
Content-Transfer-Encoding
didn't come
up correctly with ftp, fixed.
-newlog
command line option, or
LogFormat
directive in configuration file.)
Content-Length:
(because it was wrong).
htadm
now uses the same file creation mask as in
the original password file.