AddHeader directive (good for Cache-Control)
Brought to you by:
jnelson
Here is a patch against the debian-stable 0.94.11-3
version of Boa that adds support for a directive in the
conf file to globally add headers to all non-CGI, code
200 results. A prettier implementation would be
cern_meta_module-style header support on a per-resource
basis, but this was the simpler, faster solution in my
case.
The directive is "AddHeader header value", and multiple
occurances may be specified.
e.g.
AddHeader Cache-Control no-store
-Aaron
Logged In: YES
user_id=149712
(oops. fixed a couple mistakes in the patch...)
AddHeader patch against 0.94.11