>¾È³çÇϼ¼¿ä? >¾Æ·¡¿Í °°Àº Áú¹®ÀÌ ±ÞÇÏ°Ô ÀÖ¾î ±ÛÀ» ¿Ã¸³´Ï´Ù. > >CGI¸¦ µÎ°³ÀÇ µð·ºÅ丮¿¡¼ »ç¿ëÀÌ °¡´ÉÇϵµ·Ï ¾ÆÇÇÄ¡ httpd.conf¸¦ ¼³Á¤ÇÏ°íÀÚ Çϴµ¥¿ä...ÀÌ°Ô Àß ¾ÈµÇ´Â±º¿ä. >½±°Ô ¼³¸íÇؼ "/home1/www/"¿Í "/home2/www2/" ÀÌ·¸°Ô µÎ°³ÀÇ °æ·Î¿¡¼ »ç¿ëÇϵµ·Ï ¼³Á¤ÇÏ·Á°í Çϴµ¥¿ä...ÀÌ°Ô Àß ¾ÈµË´Ï´Ù. >ÇöÀç "/home1/www/"¿¡¼´Â cgi°¡ µ¹¾Æ°¡µµ·Ï ¼³Á¤ÇØ³í »óÅÂÀÔ´Ï´Ù. ¾Æ·¡´Â Á¦°¡ ¼³Á¤ÇÑ confÆÄÀϳ»¿ëÀ̱¸¿ä... > > # > # ScriptAlias: This controls which directories contain server scripts. > # ScriptAliases are essentially the same as Aliases, except that > # documents in the realname directory are treated as applications and > # run by the server when requested rather than as documents sent to the client. > # The same rules about trailing "/" apply to ScriptAlias directives as to > # Alias. > # > ScriptAlias /cgi-bin/ "/home1/html/cgi-bin/" > > # > # "/usr/local/apache/cgi-bin" should be changed to whatever your ScriptAliased > # CGI directory exists, if you have that configured. > # > <Directory "/home1/www"> > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > </Directory> > >±×·±µ¥ home2/www¶õ µð·ºÅ丮¿¡¼ cgi°¡ °¡´ÉÇϵµ·Ï ¼³Á¤ÇÏ·Á¸é À§ÀÇ ³»¿ëÀ» ¾î¶»°Ô ¹Ù²Ù¸é µÇÁÒ? ¾Æ·¡¿Í °°ÀÌ ´Ü¼øÈ÷ Ãß°¡¸¦ Çß´õ´Ï Çß´õ´Ï ¾ÆÆÄÄ¡°¡ ¿¡·¯³ª´õ±º¿ä. > > <Directory "/home1/www"> > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > </Directory> > > <Directory "/home2/www"> > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > </Directory> > >¹°·Ð home1/www ÀÌÇÏ¿¡¼ °¡´ÉÇѵ¥ ¿Ö ±»ÀÌ home2/www¿¡µµ °¡´ÉÇϵµ·Ï Áߺ¹ ¼³Á¤ÇÏ·Á°í ÇÏ´À³Ä°í ÀǾÆÇØÇϽô ºÐµéÀÌ ÀÖ°ÚÁö¸¸ ´Ù¼Ò ÈñÇÑÇÑ(?) ÀÌ·± ¼³Á¤ÀÌ ÇÊ¿äÇÒ ¶§µµ ÀÖ´õ±º¿ä. ºÎ¿¬¼³¸íÀ» ÇÏÀÚ¸é home2/www ´Â ´Ù¸¥ µµ¸ÞÀÎÀ» ¼ÂÆÃÇÏ°í °èÁ¤ °ø°£À» ºÐÇÒÇÏ·Á°í Çϱ⠶§¹®ÀÌÁÒ. ÇÏÁö¸¸ ±âº»ÀûÀÎ º¸¾È¹®Á¦ ¶§¹®¿¡ Document·çÆ®ÀÎ home1/www ÇÏÀ§¿¡ °èÁ¤ °ø°£À» ÇÒ´çÇÏ°í ½ÍÁö ¾Ê±º¿ä. > >²À ´äº¯À» ºÎŹµå¸®°Ú½À´Ï´Ù. >±×·³ ÁÁÀº ÇÏ·ç µÇ¼¼¿ä!
¾È³çÇϼ¼¿ä. ÇØÇÇCGI À¥¸¶½ºÅÍ À±¿µ¿õÀÔ´Ï´Ù. À§ ¼³Á¤ÀÌ ¸Â´Â°Í °°Àºµ¥ ¿À·ù°¡ ³ª³ª¿ä? ^^
<Directory "/"> AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all </Directory>
À§ ó·³ Çغ¸¼¼¿ä.
¾Æ¸¶ ÀüºÎ´Ù µÉ°Ì´Ï´Ù. ^^ ´äº¯ÀÌ Á» ºÎ½ÇÇß³ª¿ä? -_-;;;
ÁÁÀº ÇÏ·çµÇ½Ã±¸¿ä. ¾ÈµÇ½Ã¸é ±Û ÁÖ¼¼¿ä.
|