httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From springspring <7veryn...@naver.com>
Subject help.. httpd tproxy config...
Date Sat, 11 Jul 2009 10:36:27 GMT

apache test

this config. right

<VirtualHost 192.168.0.3:4129>
        ServerName 192.68.0.3
        ProxyTProxy On
        ProxyRequests off
        ProxyPass / http://192.168.0.2/
        ProxyPassReverse / http://192.168.0.2/
        ProxyPreserveHost On
</VirtualHost>


iptables -t tproxy -A PREROUTING -i br0 -p tcp --dport 80 -j TPROXY
--on-port 4129



 real webserver access.log       no client ip..
192.168.0.3 - - [11/Jul/2009:19:10:31 +0900] "GET /Board/MenuIcon/image.gif
HTTP/1.1" 304 -

as ever remain ..proxy ip 

clinet:192.168.0.5
proxy:192.168.0.3
webserver: 192.168.0.2

client ---> proxy ---> webserver         (X)
 ip(5)         ip(3)         clientip(3)


oneĀ“s real remain 

Tell me how I can get there.

client ---> proxy ---> webserver         (0)
 ip(5)         ip(3)         clientip(5)





-- 
View this message in context: http://www.nabble.com/help..---httpd-tproxy-config...-tp24439152p24439152.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


Mime
View raw message