ÀçÆÈ      2007/09/13 (13:08:20)     4109   
   ¼­ºêµµ¸ÞÀÎ °ü·Ã [2]
¼­ºêµµ¸ÞÀÎÀ» ¼ÂÆÃÇÏ°í ½Í½À´Ï´Ù.

Áú¹®´äº¯À» °Ë»öÇغ¸¸é


1. ¼­ºêµµ¸ÞÀÎ ¼ÂÆÃÇÏ·Á¸é ¾Æ·¡¿Í °°ÀÌ Ç϶ó´Â±º¿ä.
 
public_html Æú´õÀÇ À妽º ÆÄÀÏ¿¡¼­ Á¢¼ÓÁÖ¼Ò¸¦ üũÇϼż­
¿øÇϽô Æú´õ·Î Æ÷¿öµùÇÏ½Ã¸é µË´Ï´Ù.
(ex : php¿¡¼­ Á¢¼Ó ÁÖ¼Ò¸¦ üũÇÏ´Â $HTTP_HOST º¯¼ö¸¦ »ç¿ëÇÏ¿© ¿øÇϽô Æú´õÀÇ ³»¿ëÀ» Ãâ·ÂÇÏ½Ã¸é µË´Ï´Ù.)
 
2. ¶Ç ¾Æ·¡ ÁÖ¼Ò¸¦ Âü°íÇ϶ó°íµµ Çϴ±º¿ä

http://www.g3.cc/mb/mini.php?id=g3_domainfaq ÀÇ 3¹ø Ç׸ñÀ» Âü°íÇØÁֽñ⠹ٶø´Ï´Ù. 
 ±×·±µ¥ 2¹ø ó·³ Âü°íÇÏ·Á´Â À¥ÆäÀÌÁö´Â ¿¡·¯°¡ ¶ß°í 1¹øÀº Àß ¸ð¸£°Ú±º¿ä.
 
¾îµð Àß ¼³¸íÇسõÀº °ÍÀº ¾øÀ»±î¿ä?
¾Æ´Ï¸é Ä£ÀýÇÑ ¼³¸íÀ» ±â´ëÇصµ µÉ±î¿ä?

writer ip : 125.131.173.166 , modify 125.131.173.166 , 2007/09/13 (13:09:17)    


59.17.161.32
2007/09/13 (15:14:56)
¼­ºêµµ¸ÞÀÎÀº º°µµÀÇ ½ÅûÀÌ ÇÊ¿ä¾øÀÌ ¾Æ·¡¿Í °°Àº ¼Ò½º¸¦ index ÆäÀÌÁö¿¡ »ðÀÔÇϽøé
¹Ù·Î ¿øÇϽô ¼­ºñ½ºµµ¸ÞÀÎÀ» »ý¼ºÇؼ­ »ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

À̶§, ¼­ºêµµ¸ÞÀκ°·Î ÇÏÀ§Æú´õ¸¦ public_html Æú´õ¾È¿¡ »ý¼ºÇØÁÖ¼Å¾ß ÇÕ´Ï´Ù.

<?
  if($HTTP_HOST == "sub1.domain.com") {
    echo "<script LANGUAGE='JavaScript'>location.replace('http://www.domain.com/sub1/');</script>";
  } else if($HTTP_HOST == "sub2.domain.com") {
    echo "<script LANGUAGE='JavaScript'>location.replace('http://www.domain.com/sub2/');</script>";
  } else if($HTTP_HOST == "sub3.domain.com") {
    echo "<script LANGUAGE='JavaScript'>location.replace('http://www.domain.com/sub3/');</script>";
  }
?>

%% ¹«·áµµ¸ÞÀÎ »ç¿ë°í°´(¾ÆÀ̵ð.g3.cc)Àº ¼­ºêµµ¸ÞÀÎÀ» »ý¼ºÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.
%% sub1, sub2, sub3... µîÀ» ¿øÇϽô ¼­ºêµµ¸ÞÀÎÀ¸·Î º¯°æÇϽðí...
%% domain.com À» »ç¿ëÇϽô °³º°µµ¸ÞÀÎÀ¸·Î º¯°æÇϽÅÈÄ Àû¿ëÇÏ¼Å¾ß ÇÕ´Ï´Ù.

°¨»çÇÕ´Ï´Ù.

ÀçÆÈ

125.131.173.166
2007/09/13 (15:23:44)
°¨»ç...

¿ª½Ã Ä£ÀýÇÑ ÄÄÇ»Áî....

      

       

4597 ¸µÅ©Á» ºÎŹµå¸³´Ï´Ù...(²Ù¹÷) [3] ¸ð³ëÆú¸®Á® 06/18 4449
4596 »èÁ¦ Á» ºÎŹµå¸³´Ï´Ù. [1] homjjang 06/16 4368
4595 µµ¸ÞÀÎÀο¬°á¹®ÀÇ??? [1] ¸ð³ëÆú¸®Á® 06/15 4641
4594 jeyyoung.com µµ¸ÞÀÎ °ü·Ã ¹®ÀÇ [3] jeyyoung 06/14 0
4593 ¼­ºñ½ºº¯°æÈÄ È¯ºÒ°Ç [1] ¿ùÇâ 06/11 4324
4592 CMG°í°´UTF-8 ¼ÂÆà ¹Ù¶ø´Ï´Ù. [1] CMG 06/10 0
4591 »çÀÌÆ® ÀÌÀü ºÎŹµå¸³´Ï´Ù [1] ¹ÙÀ̺Ͻº 06/10 0
4590 À¥¸ÞÀÏ ¼ö½ÅÈ®ÀÎ [3] yaki 06/07 4381
4589 mySqlAdmin ¿¬°á¹æ¹ýÀº ¾î¶»°Ô µÇ³ª¿ä?? [1] hyun 06/07 4578
4588 µµ¸ÞÀο¬°á [1] ²ÇÁö¸Ó¸® 06/07 4507
4587 CMG ½ÅûÇÑ UTF-8È£½ºÆà ȯ°æ Á¡°Ë ¼ÂÆùٶø´Ï´Ù... [2] CMG 06/04 0
4586 Á¦·Îº¸µå ÃÖ±Ù °Ô½Ã¹°¿¡ ±ÛÀÚ ±úÁü Áú¹®. [1] cosmicbuddha 06/02 4996
4585 µµ¸ÞÀÎ »õ·Î ½ÅûÇߴµ¥¿ä... [1] ¸ð³ëÆú¸®Á® 06/02 4254
4584 DBº¹±¸ ¿äûÇÕ´Ï´Ù. [1] cosmicbuddha 05/31 4838
4583 Áú¹®µå¸³´Ï´Ù... [1] Á¡ÇÁ 05/31 4708
FIRST455253545556575865LAST