These directives are used within the Apache httpd server configuration files to modify Apache Rivet's behavior. Their precedence is as follows: RivetDirConf, RivetUserConf, RivetServerConf, meaning that DirConf will override UserConf, which will in turn override ServerConf.
size
?size
is
the number of byte-compiled pages to be cached for
future use. Default is
MaxRequestsPerChild / 5, or 50,
if MaxRequestsPerChild is 0.
script
?script
is an actual Tcl script, so to run a file, you would
do:
RivetServerConf GlobalInitScript "source /var/www/foobar.tcl"
script
?script
?script
?Note | |
---|---|
This code is evaluated at the global level, not inside the request namespace where pages are evaluated. |
script
?script
?script
?script
?directory
?size
?