That's odd, whether it matches the rewrite rule or not, it should not cause a 404 issue. Just want to clarify with you again.
"Still receive 404 not found. " means curl returns a 404, or from the browser?
"When I browse to the website <placeholder>.com/healthcheck.php I do receive an OK "...