Is it possible to put a reverse proxy in an .htaccess file? Something like this:
ProxyPass /path/ http://128.10.10.10/
ProxyPassReverse /path/ http://128.10.10.10/
If not, are there other options?
EDIT Because I've got a domain like domain.com
and a path in it like /path
so that domain.com/path
redirects to 128.10.10.10
.
This works, but I'd like to set it up so when I'm at 128.10.10.10
after the redirect the URL bar at the top of the browser reads domain.com/path
and so that any subfolders therein would be accessible via domain.com/path/subfolders
.