°Ô½Ã¹° 1,369°Ç
   
Reverse ¾ÆÆÄÄ¡ ÇÁ·Ï½Ã ¼³Ä¡
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-03-30 (È­) 13:07 Á¶È¸ : 13880
±ÛÁÖ¼Ò :
                                
¼­¹ö¾Õ´Ü¿¡ reverse ÇüÅÂÀÇ ÇÁ·Ï½Ã¸¦ ¼³Ä¡ÇØ º¸°Ú´Ù...
±âÁ¸¿¡ squid ¸¦ ÀÌ¿ëÇؼ­ »ç¿ëÇØ ¿ÔÁö¸¸ À̹ø¿¡´Â apache proxy¿Í ºñ±³Çغ¸·Á°í ÇÑ´Ù.

# apache ¼³Ä¡
./configure --enable-so --enable-mods-shared="proxy cache all"

# mod_line_edit  : ÅؽºÆ® ÇÊÅ͸µ ¸ðµâ (apache 2.x À̻󿡼­ Áö¿ø)
  - ÀÌ°Ç ³»°¡ µû·Î ½á¸ÔÀ»ÀÏÀÌ À־ ¼³Ä¡Çß´Ù... (http://apache.webthing.com/mod_line_edit)
wget http://apache.webthing.com/mod_line_edit/mod_line_edit.c
/usr/local/apache2/bin/apxs -i -a -c mod_line_edit.c

# mod_rpaf  : ÇÁ·Ï½Ã ÁÖ¼Ò º¯È¯ ¸ðµâ
wget wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
/usr/local/apache2/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c


¡Ø 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 ÆÄÀÏ¿¡ ½ÇÁ¦¼­¹ö°¡ Á¸ÀçÇϴ°÷À¸·Î Æ÷¿öµù ½ÃÅ°°Ô²û.....

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.