LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > ProxyPass

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2007, 11:13 PM
protocole protocole is offline
New Member
 
Join Date: Jul 2007
Posts: 2
Default 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
Reply With Quote
  #2  
Old 07-31-2007, 07:29 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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.
Reply With Quote
  #3  
Old 08-01-2007, 02:14 AM
protocole protocole is offline
New Member
 
Join Date: Jul 2007
Posts: 2
Default one more question

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

Thank you
Reply With Quote
  #4  
Old 08-01-2007, 06:56 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
In Apache config file, since all vhosts are configured through httpd.conf, right?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:35 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.