ÇÁ·Ï½Ã¸¦ ÀÌ¿ëÇÒ¶§ ¾ÆÆÄÄ¡ ·Î±× ½Ç IP ·Î±× ÇØ°á¹æ¹ý / ·Î±×Æ÷¸ËÇü½Ä Ãß°¡
==> ¾Æ·¡¿Í °°ÀÌ httpd.conf ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù...
LogFormat "%v %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b" X-Forwarded-For
CustomLog /var/log/apache/www.example.com-xforwarded.log X-Forwarded-For
EX)
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%v %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b" X-Forwarded-For
********************
********************
********************
ServerAdmin [email protected]
DocumentRoot /home/board/test
ServerName test.mojily.pe.kr
ErrorLog logs/board.mojily.com-error_log
CustomLog logs/board.mojily.com-access_log X-Forwarded-For
[ÀÌ °Ô½Ã¹°Àº ÃÖ°í°ü¸®ÀÚ´Ô¿¡ ÀÇÇØ 2009-12-14 20:59:39 ¸®´ª½º¿¡¼ À̵¿ µÊ]