½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
javascript
PHP
ASP
CSS
mysql
html
jquery
������
image
mobile
API
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 95 | Á¶È¸¼ö 4,598 | µî·ÏÀÏ 2004-09-21 20:31:15

´Ð³×ÀÓ

HappyCGI

À̸ÞÀÏ

webmaster@happycgi.com

Á¦¸ñ

[´äº¯] [ÀçÁú¹®] ÇϳªÀÇ °èÁ¤¿¡ ´ÙÁß µµ¸ÅÀÎ ¿¬°á½Ã ¹®Á¦
³»¿ë

ÇØÇÇCGI ÀÔ´Ï´Ù.

¾Æ·¡ ÇÁ·Î±×·¥Äڵ带 º¹»çÇؼ­ index.cgi ·Î ÀúÀåÇÕ´Ï´Ù.

index.cgi¸¦ FTP¸¦ ÀÌ¿ëÇؼ­ ¾Æ½ºÅ°¸ðµå·Î ¾÷·Îµå ÇÕ´Ï´Ù.

¾÷·ÎµåÈÄ index.cgi ÀÇ Æ۹̼ÇÀ» 755·Î ÁÝ´Ï´Ù.

FTP,Æ۹̼Ç,¾Æ½ºÅ°¿¡ ´ëÇؼ­ ¸ð¸£½Å´Ù¸é http://www.happycgi.com/guide ¸¦ Âü°íÇϽñ⠹ٶø´Ï´Ù. ^^


[ÇÁ·Î±×·¥ÄÚµå]

#! /usr/bin/perl
#ÀÌ ÇÁ·Î±×·¥Àº ¼­¹öÀÇ È¯°æº¯¼ö¸¦ Àо ÇØ´çµµ¸ÞÀΰú ÀÏÄ¡ÇÒ °æ¿ì ƯÁ¤ URL·Î À̵¿ÇÕ´Ï´Ù.
#programed by HappyCGI
#code date : 2004-09-21
#URL : http://www.happycgi.com

#a µµ¸ÞÀÎÀ» ÁöÁ¤Çϼ¼¿ä.
$a = "a.com";
$b = "b.com";

if ($ENV{'SERVER_NAME'} =~/$a/) {
 print "location:http://www.a.com/a\n\n";
 exit;
}
elsif ($ENV{'SERVER_NAME'} =~/$b/) {
 print "location:http://www.b.com/b\n\n";
 exit;
}
else {
 print "location:http://www.c.com/a\n\n";
 exit;
}




ÁÁÀº ÇÏ·çµÇ¼¼¿ä.
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û HTML¿¡¼­ ÀÀ¿ëÇÁ·Î±×·¥ ½ÇÇà 2004-09-20 12:36:02
´ÙÀ½°Ô½Ã±Û [Áú¹®] (javascript) timer¿Í stop()¾î¶»°Ô ¾²³ª¿ä? 2004-09-28 06:12:30