Menu

#19 AddHeader directive (good for Cache-Control)

open
nobody
None
5
2005-02-16
2005-02-16
No

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

Discussion

  • Anonymous

    Anonymous - 2005-02-16

    Logged In: YES
    user_id=149712

    (oops. fixed a couple mistakes in the patch...)

     
  • Anonymous

    Anonymous - 2005-02-16

    AddHeader patch against 0.94.11

     

Log in to post a comment.