On Mon, Mar 20, 2017 at 12:30 PM, DUVERGIER Claude
<httpd...@claude.duvergier.fr> wrote:
>         <Location "/foo">
>
>             Header set X-Foo "true"
>
>         </Location>


Are you getting mixed up by looking at the headers for unsuccessful
requests but not telling mod_headers to 'always' set the header?

The optional condition argument determines which internal table of
responses headers this directive will operate against. Despite the
name, the default value of onsuccess does not limit an action to
responses with a 2xx status code. Headers set under this condition are
still used when, for example, a request is successfully proxied or
generated by CGI, even when they have generated a failing status code.



-- 
Eric Covener
cove...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to