¿Í¿ì¹æ¸í·Ï 1.5.2´Â ¹æ¹®°´¿¡°Ô ÀÚ½ÅÀÇ È¨ÆäÀÌÁö¸¦ ¹æ¹®ÇÑ ¼Ò°¨À» ±â·ÏÇϵµ·Ï µµ¿ÍÁÖ´Â Perl·Î Â¥¿©Áø ½ºÅ©¸³Æ®ÀÌ´Ù.
´ëºÎºÐÀÇ ±â´ÉÀº ¿©Å¸ ´Ù¸¥ ÀÏ¹Ý ¹æ¸í·Ï°ú Å©°Ô ´Ù¸¥Á¡ÀÌ ¾øÀÌ °ÅÀÇ ¸ðµç ±â´ÉÀ» Áö¿øÇϸç ƯÈ÷ ³²´Þ¸® ¹æ¹®°´ÀÇ
¼ºº°°ú ¹æ¹®°´ÀÇ ºê¶ó¿ìÀú¿Í Á¢¼Ó¹æ½ÄÀ» ¹°¾îº¸°í ±×°ÍÀ» ½Ã°¢ÀûÀ¸·Î Ç¥ÇöÇÑ ¹æ¹®°´ ¼±º°À» Çϵµ·Ï ÇÏ´Â ÀÚ¹Ù½ºÅ©¸³Æ®¸¦
ÀÌ¿ëÇÑ Á¡ÀÌ´Ù. º°µµ·Ï ¹æ¹®°´ÀÇ ¹æ¸í·Ï ¿¢¼¼½º ¼ö¸¦ ¼¼´Â°ÍÀÌ ¾Æ´Ï¶ó ¸ÚÁø ±×·¡ÇÈÀ» ÀÌ¿ëÇÏ¿© Åë°è±â´ÉÀ» »ó´Ü¿¡
Ç¥½ÃÇÑ Á¡ÀÌ ¹«Ã´À̳ª ƯÀÌÇÑ ¹æ¸í·ÏÀÌ ¾Æ´Ñ°¡ ÇÑ´Ù. ÀÌ ¹æ¸í·ÏÀº ÀÎÇÏ´ë elecom ¿¡¼ Á¦ÀÛÇÑ °ÍÀ¸·Î ¹«·á·Î
¼Ò½º°¡ °ø°³µÇ¾úÀ¸¸ç °è¼Ó ¹æ¸í·ÏÀÇ ÆÐÄ¡¿Í ¾÷µ¥ÀÌÆ®¸¦ µµ¸ðÇÏ°í ÀÖ´Ù.
¿Í¿ì¹æ¸í·Ï 1.5.2 |
[ README ]
¿Í¿ì¹æ¸í·ÏÀÇ ¾ÐÃàµÈ ¼Ò½º¿¡´Â ÀνºÅç¿¡ ÇÊ¿äÇÑ °£´ÜÇÑ ¼³Ä¡¹æ¹ý°ú ¸¸µçÀ̵¥
´ëÇÑ Á¤º¸, ±×¸®°í ¹æ¸í·ÏÀÇ ¹öÁ¯¾÷¿¡ ´ëÇÑ »ó¼¼ÇÑ À̾߱Ⱑ ½Ç·ÁÀÖ´Ù. ´Ù¿î
·Îµå ¹Þ±â Àü Çѹø ÀÐ¾î º¸¸é ¸¹Àº µµ¿òÀÌ µÇ°Ú°í, ¼³Ä¡½Ã ¹Ýµå½Ã Àо
»çÇ×ÀÌ´Ù. |
[ Working Demo ]
´Ù¿î·Îµå ¹Þ±âÀü¿¡ ¿ì¸® ȨÆäÀÌÁö¿¡ ¼³Ä¡µÈ ¹æ¸í·ÏÀ» Çѹø »ìÆ캸±â ¹Ù¶õ´Ù.
¸¶À½¿¡ µé¾ú´Ù¸é ´çÀå ´Ù¿î·Îµå ÇÏ½Ã°í ¸¶À½¿¡ µéÁö ¾ÊÀ¸¸é °üµÎ¸é µÈ´Ù.^^
. ÇöÀç ¸®´ª½º¿¡ ¼³Ä¡µÈ ¹æ¸í·Ï µ¥¸ðÀÌ´Ù. ¼³Ä¡Çϴµ¥ 3ºÐµµ ¾È°É·ÈÀ½.
¡Ø Working
Demo |
[ Install ]
1. ¸ÕÀú tar·Î µÈ ÆÄÀϹÀ½À» Ç®¾îÁÝ´Ï´Ù.
tar xvfp wowbook-15.tar
2. Æ۹̼Ç
$ ls -al drwx---r-x 5 moroo
eleComm 512
Aug 25 09:34 .
drwxr-xr-x 5 moroo eleComm 512
Aug 27 20:41 ..
-rw----rw- 1 moroo eleComm 22
Aug 22 21:59 adminpass.data
-rwx---r-x 1 moroo eleComm 2459
May 30 11:33 cgi-lib.pl
drwx----wx 2 moroo eleComm 512
Aug 22 21:57 config
drwx----wx 2 moroo eleComm 512
Aug 25 09:34 data
-rwx---r-x 1 moroo eleComm 20005
Aug 25 08:35 guestbook.cgi
-rwx---r-x 1 moroo eleComm 31148
Aug 22 22:08 guestbook_admin.cgi
-rw----rw- 1 moroo eleComm 389
Aug 25 08:37 head.html
drwxr-xr-x 2 moroo eleComm 1024
Aug 25 08:31 image
(¼öµ¿À¸·Î Á¶ÀýÇÒ¶§ cgi ÈÀÏÀº 705¹ø ȤÀº 755¹øÀ» ÁÖµµ·Ï ÇÑ´Ù.
)
2. ´ÙÀ½ ÀÚ½ÅÀÇ È¨ÆäÀÌÁö ¼¹ö¿¡ ÀÖ´Â perlÀÇ À§Ä¡¸¦ ¾Ë¾Æ³À´Ï´Ù.
$ which perl À§ÀÇ °á°ú°¡ /usr/bin/perl
ÀÌ¾Æ´Ï°í ¿¹¸¦µé¾î /usr/local/bin/perl
À̶ó°í ³ª¿Ô´Ù¸é guestbook.cgi
¹× guestbook_admin.cgi ÀÇ Ã¹ÁÙÀ» ÆíÁýÇؾßÇÕ´Ï´Ù.
#!/usr/bin/perl -->
#!/usr/local/bin/perl
3. óÀ½ ¼³Ä¡½Ã °ü¸®ÀÚ Æнº¿öµå´Â ¾ø½À´Ï´Ù.
[Âü°íÇÒ »çÇ×]
1. µ¥ÀÌŸ°¡ Ãß°¡µÇÁö ¾Ê´Â´Ù¸é ´ÙÀ½ÀÇ ¸í·É¾î·Î ÆÄÀÏ Æ۹̼ÇÀ» ¼öÁ¤.
$ chmod 703 data
$ chmod 606 *.data
$ chmod 606 data.idx
[À¥ºê¶ó¿ìÀú¿¡¼ º¸±â] http://####your
home###/guestbook/guestbook.cgi |
[ Source Á¦°ø ]
|
|
|
|