±Çº´Ã¶
2002/02/16 20:45:28
12821
0
cgi ½ºÅ©¸³Æ® °øÀ¯Çϱâ(¸ÖƼµµ¸ÞÀÎÀ϶§ ƯÈ÷ À¯È¿)
[2]
ÄÄÇ»Áî¿Í °°Àº ¸î¸î È£½ºÆà ¼ºñ½º¿¡¼´Â ¸ÖƼ µµ¸ÞÀÎÀ» Áö¿øÇÏ°í ÀÖÁÒ.
¿¹¸¦ µé¸é usr/public_aaa -> aaa.com, usr/public_bbb ->bbb.net°ú °°ÀÌ...
(Àúµµ ¾îÁ¦ ½ÅûÇß½À´Ï´Ù Èå ^-^V)
±×·¡¼ 2°³ ÀÌ»óÀÇ µµ¸ÞÀÎÀ» °É¾úÀ» ¶§ »ý±â´Â ¹®Á¦°¡ ÀÖ½À´Ï´Ù.
¹Ù·Î cgiÀÇ »ç¿ë ºÎºÐÀä...
°¢°¢ÀÇ µµ¸ÞÀÎÀÌ °°Àº Á¾·ùÀÇ cgi¸¦ µû·Î »ç¿ëÇßÀ» ¶§ ¹ß»ý °¡´ÉÇÑ ¹®Á¦´Â ´ë·« ´ÙÀ½°ú °°½À´Ï´Ù.
1. ¾µµ¥¾øÀÌ °ø°£À» ¸Ô´Â´Ù.
2. db¸¦ °øÀ¯ÇÏ´Â °æ¿ì ¾Æ¿¹ »ç¿ëÀÌ ºÒ°¡´ÉÇϰųª °¢Á¾ ¹®Á¦¸¦ ÀÏÀ¸Å³ ¼ö ÀÖ´Ù(Á¦·Îº¸µå°¡ ±×·± ¿¹).
3. cgiÀÇ À¯Áö/º¸¼ö½Ã ¾÷µ¥ÀÌÆ®µµ µû·Î ÇØÁÖ¾î¾ß ÇÑ´Ù.
±×·¡¼ cgi¸¦ °°ÀÌ ¾²´Â°Ô ¿©·¯¸ð·Î ¸ð¾çÀÌ ÁÁ°ÚÁÒ.
±Ùµ¥ aaa.com¿¡ ³Ö¾î³í cgi¸¦ ¾²±â À§Çؼ bbb.net¿¡¼´Â
http://aaa.com/cgi/script.php
¿Í °°ÀÌ Àý´ë °æ·Î¸¦ Ç¥½ÃÇØ ÁÖ¾î¾ß ÇÑ´Ù´Â Á¡ÀÌ Ä¡¸íÀûÀÎ ¹®Á¦·Î ÀÛ¿ëÇÕ´Ï´Ù.
Àç¹ÌÀÖ°Ô bbb.netÀ» ¼ÇÎÇÏ°í ÀÖ´Ù°¡ °©ÀÚ±â ÁÖ¼ÒâÀÌ aaa.comÀ¸·Î ¹Ù²î¾î Àִ°͵µ ±×´ÙÁö º¸±â ÁÁÀº ¸ð½ÀÀº ¾Æ´Ï°ÚÁÒ?
(»ç¶÷¸¶´Ù ´Ù¸£±ä ÇÏÁö¸¸, Àú´Â ºÒÇÊ¿äÇÏ°Ô ÁÖ¼Ò°¡ ¹Ù²î´Â °ÍÀ» Çø¿ÀÇؼ¿ä ¤Ñ¤Ñ^)
±×·¡¼ Àú¶û ºñ½ÁÇÑ °í¹ÎÀ» ÇÏ´Â »ç¶÷ÀÌ È¤½Ã³ª ÀÖÀ»±î Çؼ ÆÁÀ» ¿Ã·Áº¾´Ï´Ù.
¼·ÐÀÌ ±æ¾ú±º¿ä
¿ì¼± telnetÀ¸·Î ·Î±×ÀÎÇÕ´Ï´Ù.
(aaa.comÀº public_aaa¿¡, bbb.netÀº public_bbb¿¡ ÀÖ´Ù°í Ĩ½Ã´Ù)
¿©±â¼ ¸¸¾à Á¦·Îº¸µå¸¦ °øÀ¯ÇÏ°í ½Í°í Á¦·Îº¸µå°¡ public_aaa¿¡ ÀÖ´Ù¸é ´ÙÀ½°ú °°ÀÌ ÇØÁÝ´Ï´Ù.
ln -s publc_aaa/zboard public_bbb/zboard
±×¸®°í public_bbb¿¡ °¡¼ ls -al Çغ¸¸é ´ÙÀ½°ú °°ÀÌ µÇ¾îÀÖ´Â °ÍÀ» È®ÀÎÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
lrwxrwxrwx 1 username username 8 Feb 16 20:24 zboard -> ../public_aaa/zboard
ÀÌ°Ô ¹¹³Ä¸é, bbb.net/zboard´Â ¹°¸®ÀûÀ¸·Î aaa.net/zboard¿Í °°´Ù´Â °ÅÁÒ.
½Éº¼¸¯ ¸µÅ©¶ó°í Çϴ°ǵ¥, Àúµµ ¸®´ª½º´Â Àß ¸ô¶ó¼ ÀÚ¼¼ÇÑ ¼³¸íÀº ¸øµå¸®°Ú³×¿ä.
ÀÌ°Å Æ۹̼ÇÀÌ 777·Î ¹Ù²î¾î ÀÖ´Ù°í chmod 701 zboard ¹é³¯ ÇغÁ¾ß ¼Ò¿ë ¾ø½À´Ï´Ù ^^*
¸» ±×´ë·Î ¸µÅ©ÀÏ »ÓÀ̴ϱî¿ä.
chomod 111 zboard¶ó°í ¸í·ÉÇÑ µÚ public_aaa¿¡ °¡¼ È®ÀÎÇØ º¸½Ã¸é ¾û¶×ÇÏ°Ôµµ ¿øº» ÆÄÀÏ Æ۹̼ÇÀÌ 111·Î ¹Ù²î¾î ÀÖ´Ù´Â °ÍÀ» ¾Æ½Ç ¼ö ÀÖÀ»°Ì´Ï´Ù.
½Éº¼¸¯ ¸µÅ©ÀÇ À¯¿ë¼ºÀº ÀÇ¿Ü·Î ²Ï ³ô½À´Ï´Ù.
ÀúÀÇ °æ¿ì¿¡´Â µÎ »çÀÌÆ®°¡ °øÀ¯ÇÏ´Â cgi³ª javascript¸¦ ¾Æ¿¹ °èÁ¤ ·çÆ®¿¡´Ù°¡ µÎ°í °¢ »çÀÌÆ®ÀÇ µð·ºÅ丮°¡ ÀÌ°É ¸µÅ©ÇØ°¡´Â Çü½ÄÀ» ÃëÇÏ°í ÀÖ½À´Ï´Ù.
²À ¸ÖƼµµ¸ÞÀÎÀÌ ¾Æ´Ï´õ¶óµµ Á¦·Îº¸µå°¡ ·çÆ®¿¡ ÀÖÀ¸¸é Æí¸®ÇÒ ¶§°¡ ¸¹ÁÒ.
ÇöÀç public_html ¾Æ·¡¿¡ ÀÖ´Â Á¦·Îº¸µå¸¦ ·çÆ®¿¡ ²ø¾î³õ°í ¾²°í½Í´Ù¸é ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µË´Ï´Ù. (·çÆ®¿¡¼)
] mv public_html/zboard zboard
] ln -s zboard public_html/zboard
½Éº¼¸¯ ¸µÅ©¿¡ ´ëÇؼ ¾Æ½Ã´Â ºÐÀÌ º¸ÃæÇØÁֽøé ÁÁ°Ú³×¿ä.
Àúµµ ¸®´ª½º´Â ¿µ ¹®¿ÜÇÑÀ̶ó ¤Ð¤Ð
±×·³...
ÄÚ¸àÆ®¸¦ ÀÛ¼ºÇϽøé 2 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.
±Çº´Ã¶
2002/02/16 20:47:30
Âü, ½Éº¼¸¯ ¸µÅ©·Î cgi¸¦ °øÀ¯ÇßÀ» ¶§ bbb.net¿¡¼¸¸ º¸¿©Á®¾ß ÇÏ´Â ³»¿ëÀÌ aaa.com¿¡¼µµ º¸¿©Áú¼ö ÀÖ´Ù´Â ¹®Á¦°¡ ÀÖ½À´Ï´Ù ¤Ñ¤Ñ^
±Çº´Ã¶
2002/02/16 20:51:22
¼¼¼ÇÀº °øÀ¯°¡ ¾ÈµÇ±¸¿ä. Á¢¼ÓÀÚ ¼ö üũ³ª äÆà ½ºÅ©¸³Æ®¿¡¼´Â ¹®Á¦¸¦ º¸ÀÏ ¼öµµ Àְڳ׿ä
248
ºÎÆýà XP·Î°í ¾È³ª¿À°Ô Çϱâ ^^
[1]
±è¼º¼ö
02/23
16783
10/22(07:09)
247
XPÀÇ ¼û°ÜÁøº¹»ç±â´É ^^
±è¼º¼ö
02/23
15180
246
¹ÙÅÁȸ鿡 ¹Ù·Î°¡±â ¾ÆÀÌÄÜ»ý¼º±ÝÁö
±è¼º¼ö
02/23
15106
245
CMOS Æнº¿öµå ÀÒ¾î¹ö¸±¶§,,
[1]
±è¼º¼ö
02/23
15488
02/23(23:27)
244
Æú´õ Àб⠼ӵµ ¿Ã¸®´Â¹æ¹ý^^
±è¼º¼ö
02/23
14428
243
À¯¿ëÇÑÄÄÇ»ÅÍÆÁ 4°¡Áö^^
±è¼º¼ö
02/23
13853
164
*.php·Î Ç¥±âµÇ´Â°ÍÀ» ?channel=* ·Î ¹Ù²ãº¸ÀÚ~
[1]
07/16
13477
07/27(01:21)
163
õ¸®¾È°èÁ¤¿¡¼ ¾Æ¿ô·Î±äÀ» µ¹·Áº¸ÀÚ!
07/16
15114
165
±²ÀåÈ÷ ½¬¿î Á¦·Îº¸µå ¸Þ´º¾ó
[3]
±è°æ¹Ì
08/03
12757
05/20(09:55)
31
Áú¹®!!! [re] Á¦·Îº¸µå °øÁö»çÇ×(°Ô½Ã¹° ÃßÃâ) Ãâ...
[1]
±è Áø¿À
01/10
10960
01/10(11:47)
>>
cgi ½ºÅ©¸³Æ® °øÀ¯Çϱâ(¸ÖƼµµ¸ÞÀÎÀ϶§ ƯÈ÷ À¯È¿...
[2]
±Çº´Ã¶
02/16
12821
02/16(20:51)
60
¸ÚÁø ¹æ¹®ÀÚÅë°è ÅøÀÔ´Ï´Ù. n@log
[4]
±Ç´ëÇå
03/29
11410
06/13(16:19)
7
Á¦·Îº¸µå ÇØÅ·¹æÁö ÆÁ ù¹ø°
[1]
11/19
15987
11/20(16:07)
4
Ç÷¡½¬ º£³Ê¸¸µé±â
[3]
11/12
17850
03/02(15:13)
294
¸·°ÇÑ ±â´ÉÀÇ ¾ËÅø¹Ù¸¦ ¼Ò°³ÇÕ´Ï´Ù.
[1]
°ø¼±»ý
06/18
12252
07/13(17:47)
FIRST
3
10
11
12
13
14
15
16
LAST
ÄÄÇ»Áî´åÄÄ(´ëÇ¥ ÀåÁ¤ÁÖ) ÀÎõ±¤¿ª½Ã µ¿±¸ ¹æÃà·Î83¹ø±æ 23, 24µ¿ 333È£
»ç¾÷ÀÚµî·Ï¹øÈ£ 137-05-83351, Åë½ÅÆǸŠÀÎõ µ¿±¸ 03-78È£, °³ÀÎÁ¤º¸Ã¥ÀÓÀÚ ÀåÁ¤ÁÖ