View Single Post
  #3  
Old 05-24-2011, 03:19 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
you need to create webserver external application and refer below for proxy rewrite usage.

https://store.litespeedtech.com/stor...yarticle&id=21

Proxy-Host
Modify proxy request "Host" header value, example:
web site domain name is "www.example.com", it proxy request to backend, backend is defined as a web server with name "node1", it requires domain name to be "node1.example.com", the rewrite rule should be
RewriteRule ^(.*)$ http://node1/$1 [P,E=Proxy-Host:node1.example.com]
Reply With Quote