Article 4Y8V7 Using ProxyPass in Apache 2.4 results in "AH00128: File does not exist:" error

Using ProxyPass in Apache 2.4 results in "AH00128: File does not exist:" error

by
morenz
from LinuxQuestions.org on (#4Y8V7)
Hi all,
running Apache 2.4 on Debian 10.

I need to redirect a virtual path (/some/path) to another URI (/path/to/another/uri) in a Node.js instance running on the same server, listening on port 6666

As you can see Node.js is up and running and the (empty) reply is correct.
Code:root@test:/var/www/server-local# curl http://localhost:6666/path/to/another/uri
<html></html>To achieve the redirection, I used a reverse proxy
Code:<Location /some/path>
ProxyPass http://localhost:6666/path/to/another/uri
ProxyPassReverse http://localhost:6666/path/to/another/uri
</Location>that's not working: 404

I have other instances of ProxyPass (with other URIs, so there's no need to check for overrides)

After a bit of headbanging and lowering the LogLevel, I discovered that I have this error in logs
Code:[Wed Jan 22 09:42:02.592536 2020] [core:info] [pid 10570] [client a.b.c.d:58375] AH00128: File does not exist: /var/www/html/some/pathIt seems that it's searching for a real directory in the file system, that obviously is not present.
I read about permission issues, but it doesn't seem to be the right path.

I'm a bit stuck. A 10-minute do-and-forget work has took me off the whole day.

Ideas?

Thanks in advance
Morenzlatest?d=yIl2AUoC8zA latest?i=t16JChj2aTk:VCmhlK1-0tM:F7zBnMy latest?i=t16JChj2aTk:VCmhlK1-0tM:V_sGLiP latest?d=qj6IDK7rITs latest?i=t16JChj2aTk:VCmhlK1-0tM:gIN9vFwt16JChj2aTk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments