¼¹ö¾Õ´Ü¿¡ reverse ÇüÅÂÀÇ ÇÁ·Ï½Ã¸¦ ¼³Ä¡ÇØ º¸°Ú´Ù...
±âÁ¸¿¡ squid ¸¦ ÀÌ¿ëÇؼ »ç¿ëÇØ ¿ÔÁö¸¸ À̹ø¿¡´Â apache proxy¿Í ºñ±³Çغ¸·Á°í ÇÑ´Ù.
¡Ø apache2/modules Æú´õ
¡Ø Virtual hosts ¼³Á¤
/usr/local/apache2/con/httpd.conf
#Include conf/extra/httpd-vhosts.conf --> ÁÖ¼®ÇØÁ¦
¡Ø httpd-vhosts.conf ¼³Á¤
<VirtualHost *:80>
ServerName xxx.com
ServerAlias
www.xxx.com ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /
http://xxx.com/ ProxyPassReverse /
http://xxx.com/ RPAFenable On
RPAFsethostname On
RPAFproxy_ips xxx.xxx.xxx.xxx # ÇÁ·Ï½Ã·Î »ç¿ëÇÒ ¾ÆÀÌÇÇ ÁÖ¼Ò
RPAFheader X-Forwarded-For
</VirtualHost>
/etc/hosts ÆÄÀÏ¿¡ ½ÇÁ¦¼¹ö°¡ Á¸ÀçÇϴ°÷À¸·Î Æ÷¿öµù ½ÃÅ°°Ô²û.....