I am trying to connect website (which is share hosted) to a remote server, so that when I access http://example.com/test/
it will display the results from http://remote-example.com/
(which is a web app server)
The web hosting provider only allows me to modify the .htaccess
file for configuration, they said mod_proxy is enabled and it can be configured with the .htaccess
file.
They linked me Apache's Documentation, but I haven't been able to get it to work. The hosting provider is using Lightspeed as the web server.
Is someone able to give me an example of what the .htaccess
file should look like?
Can a reverse proxy be configured by modifying the .htaccess
file only?