Re: <Location> and partially non-existing directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 20, 2017 at 12:38 PM, Eric Covener <covener@xxxxxxxxx> wrote:
> On Mon, Mar 20, 2017 at 12:30 PM, DUVERGIER Claude
> <httpd.ml@xxxxxxxxxxxxxxxxxxx> 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.
>

http://httpd.apache.org/docs/2.4/mod/mod_headers.html#header

(submitted too early)

Location /foo should behave how you expect


-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux