ProxyPass

#1
I've proxypass setup in my apache virtual entries and I'm using your product with apache load configuration but the problem proxypass sites IP aren't able to pull data from other servers because litespeed doesn't work with proxypass setup.


According to LiteSpeed techs it does not support the proxypass directive in Apache httpd.conf. You have to use our own web console for a reverse proxy setup.

Another approach you can try is to use a rewrite rule, you must define a
Proxy external app using the IP address of target server as the app
name. Then when the IP address is referred in the rewrite rule, LSWS can
redirect the request to the backend HTTP server.

So If you can tell me bit more detail then I would be appreciated your help.

Thank you :)
 

mistwang

LiteSpeed Staff
#2
Assume you want to redirect URL "/backend/*" to Apache run at 192.168.0.30:8080. You need to do the following,

1. create web server external application with name "192.168.0.30:8080" or whatever you want, like "apache_backend".

2. create a rewrite rule
Code:
RewriteRule ^/(backend/.*)   http://192.168.0.30:8080/$1  [p]
The host name part of destination URL should match the name of the external application.
 
Top