µî·ÏÀÏ 2006-05-27 13:53:57 Á¶È¸¼ö 175
ÀÛ¼ºÀÚ himitsu µµ¸ÞÀÎ
Á¦¸ñ Å×ÅÍÅøÁî °ü·Ã
Çϵå¿þ¾î:
¿î¿µÃ¼Á¦:
À¥¼­¹ö: apache/2.2.2 (Win32) PHP/5.1.4
apache/2.2.2 (Win32) PHP/5.1.4 Server at localhost Port 80
PHP ¹öÀü: 5.1.4
MySQL ¹öÀü: 5.0.21-community-max-nt

------------------------------

apache Rewrite Engine

Rewrite¸¦ »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù.
´ÙÀ½ Ç׸ñÀ» È®ÀÎÇϽʽÿÀ.

1. À¥¼­¹ö ¼³Á¤¿¡ mod_rewriteÀÇ ·ÎµùÀÌ Æ÷ÇԵǾî¾ß ÇÕ´Ï´Ù.
¿¹: LoadModule rewrite_module modules/mod_rewrite.so

2. À¥¼­¹ö ¼³Á¤ÀÇ ÀÌ µð·ºÅ丮¿¡ ´ëÇÑ Options Ç׸ñ¿¡ FollowSymLinks°¡ Æ÷ÇԵǰųª AllÀ̾î¾ß ÇÕ´Ï´Ù.
¿¹: Options FollowSymLinks
¿¹: Options All

3. À¥¼­¹ö ¼³Á¤ÀÇ ÀÌ µð·ºÅ丮¿¡ ´ëÇÑ AllowOverride Ç׸ñ¿¡ FileInfo°¡ Æ÷ÇԵǰųª AllÀ̾î¾ß ÇÕ´Ï´Ù.
¿¹: AllowOverride FileInfo
¿¹: AllowOverride All

4. À§ 2¿Í 3ÀÇ ¹®Á¦´Â ¾Æ·¡ ³»¿ëÀ» À¥¼­¹ö ¼³Á¤¿¡ Æ÷ÇÔ½ÃÄÑ ÇØ°áÇÒ ¼ö ÀÖ½À´Ï´Ù.
< Directory "C:/RWAPM/www" >
Options FollowSymLinks
AllowOverride FileInfo
< /Directory >


¼³Ä¡½Ã¿¡ ÀÌ·± ±ÛÀÌ ¶ß´øµ¥ È£½ºÆà ¾÷ü¿¡ ¹®ÀÇÇؼ­ mod_rewrite¸¦ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇØ´Þ¶ó°í ÇÏ¸é µÈ´Ù°í ÇÏ´øµ¥¿ä
Á» ÇØÁÖ¼¼¿ä =¤²=