Hello,
I am trying to use .htaccess to proxy a site through as a domain hosted on the litespeed server.
This doesn't work:
RewriteEngine on
RewriteRule (.*) http://www.google.ca/$1 [P]
But this does:
RewriteEngine on
RewriteRule (.*) http://www.google.ca/$1 [L]
The latter redirects directly to google.ca. If I put an external App of type web server and set it to the google IP, and leave the .htaccess as the top example, it does a redirect instead of a reverse proxy.
I beleive I asked about this a few months back, and was told the feature was being implemented? Can anyone confirm?
Thanks.
I am trying to use .htaccess to proxy a site through as a domain hosted on the litespeed server.
This doesn't work:
RewriteEngine on
RewriteRule (.*) http://www.google.ca/$1 [P]
But this does:
RewriteEngine on
RewriteRule (.*) http://www.google.ca/$1 [L]
The latter redirects directly to google.ca. If I put an external App of type web server and set it to the google IP, and leave the .htaccess as the top example, it does a redirect instead of a reverse proxy.
I beleive I asked about this a few months back, and was told the feature was being implemented? Can anyone confirm?
Thanks.