Re: Health check expressions

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

 



On Thursday 13 February 2020 at 13:38:40, Eric Covener wrote:

> On Thu, Feb 13, 2020 at 7:30 AM Antony Stone wrote:
> > On Thursday 13 February 2020 at 13:16:19, Eric Covener wrote:
> > > On Wed, Feb 5, 2020 at 6:45 AM Antony Stone wrote:
> > > > 
> > > > Any idea how to check the content-type of the returned response?
> > > 
> > > Have you tried reading the value of the Content-Type response header
> > > instead of this built-in var?
> > 
> > No - how would I do that?
> > 
> > What should I use for ProxyHCExpr to achieve this?
> 
> Sorry I can't easily test it.  you'd use the resp() function w/ that
> header as the parameter.

I'm still not quite sure what you mean, since
https://httpd.apache.org/docs/2.4/mod/mod_proxy_hcheck.html says nothing about 
a resp() function, but I'll see whether 
https://httpd.apache.org/docs/2.4/expr.html is enough to go on.


Regards,


Antony.

-- 
Users don't know what they want until they see what they get.

                                                   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