httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Stone <>
Subject [users@httpd] Health check expressions
Date Wed, 05 Feb 2020 11:45:01 GMT

I'm using Apache as a load-balancing proxy, following and 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 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 

Any idea how to check the content-type of the returned response?



Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message