Discussion in 'General' started by protocole, Jul 31, 2007.

  1. protocole

    protocole New Member

    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 :)
  2. mistwang

    mistwang LiteSpeed Staff

    Assume you want to redirect URL "/backend/*" to Apache run at You need to do the following,

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

    2. create a rewrite rule
    RewriteRule ^/(backend/.*)$1  [p]
    The host name part of destination URL should match the name of the external application.
  3. protocole

    protocole New Member

    one more question

    Do I need to add this line in apache config file or in xml file for proxypass domain?

    Thank you
  4. mistwang

    mistwang LiteSpeed Staff

    In Apache config file, since all vhosts are configured through httpd.conf, right?

Share This Page