I am trying to create a proxy to another server/domain via .htaccess and I am having problems.
As a test I tried adding this .htaccess to a subfolder:
RewriteRule ^(.*)$ https://google.com/ [P]
But I get 404.
I can’t find the logs of my shared hosting but it might be the lack of module like mod_proxy_http. Any ideas?