LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   proxy question (http://www.litespeedtech.com/support/forum/showthread.php?t=2861)

felosi 04-13-2009 04:42 AM

proxy question
 
I recently setup a proxy through lsws from a ddos protected ip to a non protected ip. Everything works ok but of course all users have the same ip. Is there any way possible to work around this? Both servers are litespeed.

EDIT: Well I guess that is pretty retarded question and not possible the more I think about it. But if there does happen to be a way to do it, it would be nice

mistwang 04-13-2009 04:07 PM

The web server need to use the X-Forwarded-For header instead of the socket remote IP.
LSWS can do that, no sure others.
http://www.litespeedtech.com/docs/we...pInProxyHeader

felosi 04-13-2009 09:07 PM

Ok So I set this up on the real server right? not the proxy server?
Will it affect other configs?

For example the real server is directadmin using apache config. Or would I just make a vhost out of the proxied site and do it that way?

Never mind I found it, just enabling that feature eh on the real server. Works liek a charm, simply awesome. Thanks George


All times are GMT -7. The time now is 02:46 AM.