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 2025/07/16 22:37:04 UTC
[Bug 69746] New: ProxyRemote adds path to fqdn
https://bz.apache.org/bugzilla/show_bug.cgi?id=69746
Bug ID: 69746
Summary: ProxyRemote adds path to fqdn
Product: Apache httpd-2
Version: 2.4.64
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_proxy
Assignee: bugs@httpd.apache.org
Reporter: sec@dschroeder.info
Target Milestone: ---
<config>
ServerName test.com
ProxyRemote "*" "https://127.0.0.1:3128" "username:password"
ProxyPass "https://www.example.com"
ProxyPassReverse "https://www.example.com"
</config>
curl https://test.com/ -> works as expected
curl https://test.com/abc -> results in following error:
[Thu Jul 17 00:27:16.961467 2025] [proxy:error] [pid 20302:tid 20399] AH00950:
send_http_connect: the remote proxy returned code is '403'
[Thu Jul 17 00:27:16.961505 2025] [proxy:error] [pid 20302:tid 20399]
(70008)Partial results are valid but processing is incomplete: AH00958: https:
attempt to connect to www.example.comabc:443 via http CONNECT through
127.0.0.1:3128 (127.0.0.1:3128) failed
[Thu Jul 17 00:27:16.961518 2025] [proxy_http:error] [pid 20302:tid 20399]
[client 1.2.3.4:60348] AH01114: HTTP: failed to make connection to backend:
127.0.0.1
So, everything behind the / like the abc or test.html is added to the domain
like www.example.comtest.html
This smells like a bug to me. Or I am overlooking something...
--
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
[Bug 69746] ProxyRemote adds path to fqdn
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69746
sec@dschroeder.info changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from sec@dschroeder.info ---
User error:
ProxyPass "https://www.example.com"
ProxyPassReverse "https://www.example.com"
The trailing slash was missing.
ProxyPass "https://www.example.com/"
ProxyPassReverse "https://www.example.com/"
is working as expected
--
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