You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2021/09/10 00:39:28 UTC
[Bug 65566] New: When using hcmethod=GET the default path is ""
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: bugs@httpd.apache.org
Reporter: hihellobolke@gmail.com
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org