Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ
  À¥¼­¹ö Çì´õ¿¡¼­ PHP ¹öÀü Á¤º¸ ¼û±â±â ÀÛ¼ºÀÏ : 2004/04/12 00:11
 
  • ±Û¾´ÀÌ : ÁÁÀºÁøÈ£ ( http://coffeenix.net/ )
  • Á¶È¸¼ö : 13016
     
    Á¦  ¸ñ : À¥¼­¹ö Çì´õ¿¡¼­ PHP ¹öÀü Á¤º¸ ¼û±â±â
    ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel, http://coffeenix.net/ )
    ÀÛ¼ºÀÏ : 2004.4.11(ÀÏ)

    ApacheÀÇ À¥¼­¹öÀÇ ¹öÀü ¼û±â´Â °ÍÀº httpd.conf ¿¡¼­ ServerTokens Áö½ÃÀÚ¸¦ ÅëÇؼ­ ½±°Ô ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. ÇÏÁö¸¸ ÀÌ·¸°Ô ¼³Á¤À» ÇÏ´õ¶óµµ À¥¼­¹ö Çì´õ¿¡ 'X-Powered-By: PHP/4.x.x'¿Í °°ÀÌ PHP¹öÀüÀ» ±×´ë·Î º¼ ¼ö ÀÖ´Ù.

     
    $ telnet localhost 80
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    HEAD / HTTP/1.0

    HTTP/1.1 200 OK
    Date: Sun, 11 Apr 2004 15:17:10 GMT
    Server: Apache
    X-Powered-By: PHP/4.x.x  (¹öÀüÀÌ Ç¥½ÃµÇ´Âµ¥ ±Û ÀÛ¼ºÇÒ ¶§ 4.x.x·Î ¼öÁ¤ÇßÀ½)
    Connection: close
    Content-Type: text/html

    Connection closed by foreign host.
     


    ±×·¯¸é ¾î¶»°Ô ¼û±æ±î?

    php.ini ÆÄÀÏ¿¡¼­

    expose_php = On ¸¦
    expose_php = Off ·Î ¹Ù²Ù°í À¥¼­¹ö¸¦ Àç½ÇÇàÇÏ¸é µÈ´Ù.


    * Âü°í »çÇ×
       µ¥¸ó(À¥¼­¹ö,...)ÀÇ ¹öÀü Á¤º¸¸¦ ¼û±â´Â ¹æ¹ý (±Û ÁÁÀºÁøÈ£, È«¼®¹ü)
       http://coffeenix.net/board_view.php?bd_code=163


    Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ / URL : http://coffeenix.net/board_view.php?bd_code=291