![]() |
ProxyPass
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 :) |
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] |
one more question
Do I need to add this line in apache config file or in xml file for proxypass domain?
Thank you |
In Apache config file, since all vhosts are configured through httpd.conf, right?
|
| All times are GMT -7. The time now is 07:53 AM. |