https://bz.apache.org/bugzilla/show_bug.cgi?id=65419

--- Comment #6 from Yann Ylavic <ylavic....@gmail.com> ---
Here are the logs I get with a similar configuration:

LogLevel trace5
<VirtualHost *:58080>
    ServerName localhost:58080

    ProxyPreserveHost on

    ProxyPassMatch ^/((es|en|de)/test/?(/.*)?) http://localhost:9090/$1
    ProxyPassReverse ^/((es|en|de)/test/?(/.*)?) http://localhost:9090/$1

    ProxyPass / http://localhost:9090/
    ProxyPassReverse / http://localhost:9090/

    ErrorLog "logs/error_localhost_58080_log"
</VirtualHost>

$ curl -v -k http://localhost:58080/prelogin/pin
...

$ cat logs/error_localhost_58080_log 
[Thu Jul 01 16:48:09.036573 2021] [proxy:debug] [pid 347290:tid
140737350260032] proxy_util.c(1938): AH00925: initializing worker
http://localhost:9090/$1 shared
[Thu Jul 01 16:48:09.036581 2021] [proxy:debug] [pid 347290:tid
140737350260032] proxy_util.c(1998): AH00927: initializing worker
http://localhost:9090/$1 local
[Thu Jul 01 16:48:09.036588 2021] [proxy:debug] [pid 347290:tid
140737350260032] proxy_util.c(2032): AH00930: initialized pool in child 347290
for (localhost) min=0 max=25 smax=25
[Thu Jul 01 16:48:09.036591 2021] [proxy:debug] [pid 347290:tid
140737350260032] proxy_util.c(1938): AH00925: initializing worker
http://localhost:9090/ shared
[Thu Jul 01 16:48:09.036594 2021] [proxy:debug] [pid 347290:tid
140737350260032] proxy_util.c(1998): AH00927: initializing worker
http://localhost:9090/ local
[Thu Jul 01 16:48:09.036600 2021] [proxy:debug] [pid 347290:tid
140737350260032] proxy_util.c(2032): AH00930: initialized pool in child 347290
for (localhost) min=0 max=25 smax=25
[Thu Jul 01 16:48:55.577246 2021] [core:trace5] [pid 347290:tid
140737333499648] protocol.c(708): [client ::1:40042] Request received from
client: GET /prelogin/ping HTTP/1.1
[Thu Jul 01 16:48:55.577367 2021] [http:trace4] [pid 347290:tid
140737333499648] http_request.c(435): [client ::1:40042] Headers received from
client:
[Thu Jul 01 16:48:55.577390 2021] [http:trace4] [pid 347290:tid
140737333499648] http_request.c(438): [client ::1:40042]   Host:
localhost:58080
[Thu Jul 01 16:48:55.577406 2021] [http:trace4] [pid 347290:tid
140737333499648] http_request.c(438): [client ::1:40042]   User-Agent:
curl/7.74.0
[Thu Jul 01 16:48:55.577421 2021] [http:trace4] [pid 347290:tid
140737333499648] http_request.c(438): [client ::1:40042]   Accept: */*
[Thu Jul 01 16:48:55.577446 2021] [proxy:trace2] [pid 347290:tid
140737333499648] mod_proxy.c(686): [client ::1:40042] AH03461: attempting to
match URI path '/prelogin/ping' against pattern '^/((es|en|de)/test/?(/.*)?)'
for proxying
[Thu Jul 01 16:48:55.577487 2021] [proxy:trace2] [pid 347290:tid
140737333499648] mod_proxy.c(686): [client ::1:40042] AH03461: attempting to
match URI path '/prelogin/ping' against prefix '/' for proxying
[Thu Jul 01 16:48:55.577505 2021] [proxy:trace1] [pid 347290:tid
140737333499648] mod_proxy.c(772): [client ::1:40042] AH03464: URI path
'/prelogin/ping' matches proxy handler
'proxy:http://localhost:9090/prelogin/ping'
[Thu Jul 01 16:48:55.577531 2021] [authz_core:debug] [pid 347290:tid
140737333499648] mod_authz_core.c(843): [client ::1:40042] AH01628:
authorization result: granted (no directives)
[Thu Jul 01 16:48:55.577547 2021] [core:trace3] [pid 347290:tid
140737333499648] request.c(310): [client ::1:40042] request authorized without
authentication by access_checker_ex hook: /prelogin/ping
[Thu Jul 01 16:48:55.577571 2021] [proxy_http:trace1] [pid 347290:tid
140737333499648] mod_proxy_http.c(62): [client ::1:40042] HTTP: canonicalising
URL //localhost:9090/prelogin/ping
[Thu Jul 01 16:48:55.577618 2021] [proxy:trace2] [pid 347290:tid
140737333499648] proxy_util.c(2142): [client ::1:40042] http: found worker
http://localhost:9090/ for http://localhost:9090/prelogin/ping
[Thu Jul 01 16:48:55.577638 2021] [proxy:debug] [pid 347290:tid
140737333499648] mod_proxy.c(1251): [client ::1:40042] AH01143: Running scheme
http handler (attempt 0)
[Thu Jul 01 16:48:55.577655 2021] [proxy_http:trace1] [pid 347290:tid
140737333499648] mod_proxy_http.c(1977): [client ::1:40042] HTTP: serving URL
http://localhost:9090/prelogin/ping
[Thu Jul 01 16:48:55.577684 2021] [proxy:debug] [pid 347290:tid
140737333499648] proxy_util.c(2336): AH00942: HTTP: has acquired connection for
(localhost)
[Thu Jul 01 16:48:55.577703 2021] [proxy:debug] [pid 347290:tid
140737333499648] proxy_util.c(2392): [client ::1:40042] AH00944: connecting
http://localhost:9090/prelogin/ping to localhost:9090
[Thu Jul 01 16:48:55.578180 2021] [proxy:debug] [pid 347290:tid
140737333499648] proxy_util.c(2615): [client ::1:40042] AH00947: connected
/prelogin/ping to localhost:9090
...

So there is something fishy in your settings that ignores the ProxyPass
directive, mine is logging this at startup:
    AH00925: initializing worker http://localhost:9090/$1 shared
    AH00925: initializing worker http://localhost:9090/ shared
Can you see these logs somewhere (maybe in the main error_log file)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to