Re: Health check expressions

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

 



Does nobody have an idea about this?

Any suggestions where else I can ask (developer list etc)?

On Wednesday 05 February 2020 at 12:45:01, Antony Stone wrote:

> Hi.
> 
> I'm using Apache as a load-balancing proxy, following
> https://httpd.apache.org/docs/2.4/mod/mod_proxy_balancer.html and
> https://httpd.apache.org/docs/2.4/mod/mod_proxy_hcheck.html as guides to
> setting it up.
> 
> I've got it working fine when I use %{REQUEST_STATUS} in the health check
> expression, but I'd like to use the content type of the returned header for
> the health check.
> 
> Following the "expression" link from the hcheck page and looking at
> https://httpd.apache.org/docs/2.4/expr.html I think I should be able to use
> %{CONTENT_TYPE} but this always returns status HcFl.
> 
> Is there a list of what I can use in ProxyHCExpr definitions somewhere,
> other than the two examples (request status, and body content) shown on
> the above page?
> 
> Any idea how to check the content-type of the returned response?
> 
> 
> Thanks,
> 
> 
> Antony.

-- 
2 days of trial and error can easily save you 5 minutes spent reading the 
manual.

                                                   Please reply to the list;
                                                         please *don't* CC me.

---------------------------------------------------------------------
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