https://bz.apache.org/bugzilla/show_bug.cgi?id=65566
Bug ID: 65566
Summary: When using hcmethod=GET the default path is ""
Product: Apache httpd-2
Version: 2.4.34
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_hcheck
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When using configuration like below
```
ProxyHCExpr ok234 {%{REQUEST_STATUS} =~ /^[234]/}
<Proxy balancer://myset>
BalancerMember http://be-1:8081 hcmethod=GET hcexpr=ok234 hcinterval=3
hcpasses=3 hcfails=1
BalancerMember http://be-2:8081 hcmethod=GET hcexpr=ok234 hcinterval=3
hcpasses=3 hcfails=1
BalancerMember http://be-3:8081 hcmethod=GET hcexpr=ok234 hcinterval=3
hcpasses=3 hcfails=1
ProxySet lbmethod=bytraffic
</Proxy>
```
Apache health check sends request with path as "" as below
```
GET HTTP/1.0
Host: be-1:8081
```
This returns a Bad request, apache should default path to "/"
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]