HTTPD > Apache > [¾ÆÆÄÄ¡ ¼³Ä¡¿Í ȯ°æ¼³Á¤]
Çѱ۸µ½º 2.1 ( links2.0 )¼³Ä¡ ( windows98/95¸¦
Áß½ÉÀ¸·Î )
°³¿ä ´©±º°¡ ÀÚ·á½Ç¿¡ ¿Ã·Á³õ¾Ò±â¿¡ ¼³Ä¡¹ýÀ» Á¤¸®ÇØ
º¸¾Ò½À´Ï´Ù. ¸ÕÀú .cgi ·Î È®ÀåÀÚ°¡ ºÙÀº ÆÄÀϵéÀÇ Ã¹ÁÙÀº #!c:/perl/bin/perl.exe ó·³ ÆÞ ½ÇÇàÆÄÀÏÀÌ
À§Ä¡ÇØ ÀÖ´Â °æ·Î¸¦ Á¤È®È÷ ÁöÁ¤ÇØ ÁÖ¾î¾ß ÇÕ´Ï´Ù. ¶ÇÇÑ link.cfg
ÆÄÀÏÀ» ¼öÁ¤ÇÏ¿© Çѱ۸µ½º2.1ÀÌ ¼³Ä¡µÈ Àý´ë°æ·Î(³»ÄÄÇ»ÅÍ»óÀǰæ·Î)
¿Í À¥¼¹ö»óÀÇ °æ·Î(URL)¸¦ ÁöÁ¤ÇØ ÁÖ°í , windows98/95¿¡¼ Áö¿øµÇÁö
¾Ê´Â flock() ÇÔ¼ö¸¦ »ç¿ëÇÏÁö ¾ÊÀ½À¸·Î ¼³Á¤ÇÏ¸é µË´Ï´Ù. windows98
¿¡¼ ¾ÆÆÄÄ¡¼¹ö¿Í PWS¿¡¼ Å×½ºÆ® °á°ú µÑ´Ù ¼º°øÇÏ¿´½À´Ï´Ù.
¡¡
´Ù¿î·Îµå & ¾ÐÃàÇ®±â ÀÚ·á½Ç¿¡¼
´Ù¿î¹ÞÀº ÆÄÀÏ - download KLinksVer2_1.zip (208Kbytes)
- À» Àû´çÇÑ °÷¿¡ ¾ÐÃàÀ» DZ´Ï´Ù. ¿©±â¼ Àû´çÇÑ °÷Àº 'c:\KLinksVer2_1' ·Î ÇϰڽÀ´Ï´Ù.
<winzip »ç¿ë Tip> º¸Åë ³»ÄÄÇ»Å͸¦ ´©¸£°Ô µÇ¸é ¿±â¸¦ ÅëÇØ
º¸¿©Áִµ¥ , ¸¶¿ì½ºÀÇ ¿À¸¥ÂÊ ¹öưÀ¸·Î ´©¸£¸é Ž»öÀ̶ó´Â ¸Þ´º°¡
ÀÖ½À´Ï´Ù. ¶Ç´Â º¸±â(V) > Ž»öâ > Æú´õ¸¦ Ŭ¸¯ÇϽøé ÁÂÃø¿¡
Æú´õ ¸ñ·ÏÀÌ ³ª¿µË´Ï´Ù. ÀÌÁ¦ ¾ÐÃàµÇ¾î ÀÖ´Â ÆÄÀÏ(.zip)À» ¸¶¿ì½ºÀÇ
¿À¸¥ÂÊ ¹öưÀ» ´©¸¥Ã¤ c:\ µå¶óÀ̺ê·Î °¡¼ ¹öưÀ» ³õÀ¸¸é ¸Þ´º¿¡
Extract to Forder c:\KLinksVer2_1 À̶ó°í ³ª¿É´Ï´Ù.
¼±ÅÃÀ» ÇÏ¸é Æú´õ¸¦ ¸¸µé°í ¾ÐÃàÀ» Ç®±â ½ÃÀÛÇÕ´Ï´Ù.
¾ÆÆÄÄ¡ ȯ°æ ¼³Á¤ ÆÞ ¼³Ä¡¿Í CGI ½ÇÇàÀ»
À§ÇÑ ±âº» ¼³Á¤¿¡ ´ëÇØ¼´Â À̰÷À» Âü°í ÇØ
Áֽñ⠹ٶø´Ï´Ù. ¾ÐÃàÀ» Ǭ µð·ºÅ丮¿¡´Â ExecCGI ±ÇÇÑÀ» ÁÖ¾îÁ®¾ß
ÇÕ´Ï´Ù. ´ÙÀ½ ºÎºÐÀ» httpd.conf ÆÄÀÏ¿¡ Ãß°¡ÇÕ´Ï´Ù.
Alias /klinks/ "c:/KLinksVer2_1" <Directory
"c:/KLinksVer2_1"> Options ExecCGI </Directory>
°¡»óµð·ºÅ丮(À¥¼¹ö°æ·Î) http://localhost/klinks/
½ÇÁ¦ µð·ºÅ丮(Àý´ë°æ·Î;³»ÄÄÇ»ÅÍ»óÀÇ °æ·Î)
c:/KLinksVer2_1
¡¡
Çѱ۸µ½º *.cgi ÆÄÀÏÀÇ ½ºÅ©¸³Æ® 󸮱⠼±¾ð ( #!ÆÞ°æ·Î ) c:/KLinksVer2_1/cgi-bin/
Æú´õ ÇÏÀ§¿¡ ÀÖ´Â .cgi È®ÀåÀÚ¸¦ °¡Áø ÆÄÀϵéÀ» °¢°¢
¸Þ¸ðÀåÀ¸·Î ¿¾î ùÁÙ ( #!·Î ½ÃÀÛÇÏ´Â ºÎºÐ )À»
#!c:/perl/bin/perl.exe
·Î ¹Ù²Ù°í ÀúÀåÇÕ´Ï´Ù. À̰æ¿ì ÆÞÀÌ c:\perl ¿¡ ¼³Ä¡µÇ¾î ÀÖ°í
½ÇÇàÆÄÀÏÀº c:\perl\bin\perl.exe ¿¡ ÀÖ´Â °ÍÀÔ´Ï´Ù. Unix ¿Í °°Àº
¿î¿µÃ¼Á¦¿¡¼´Â " which perl " ¸í·ÉÀ¸·Î ¾Ë¾Æº¼ ¼ö ÀÖ½À´Ï´Ù.
°æ·ÎÁöÁ¤ ¹× Çѱ۸µ½º ¼³Á¤ - links.cfg c:/KLinksVer2_1/cgi-bin/admin/links.cfg
¸¦ ¸Þ¸ðÀå°ú °°Àº ÇÁ·Î±×·¥À¸·Î ¿±´Ï´Ù.
# Paths and URL's to Important Stuff #
-------------------------------------------------------- # ¿î¿µÀÚ CGI
µð·ºÅ丮(admin.cgi ÆÄÀÏÀÌ ÀÖ´Â)ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù. #
°æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $db_script_path
= "c:/KLinksVer2_1/cgi-bin/admin"; $db_dir_url
= "/klinks/cgi-bin/admin";
#
»ç¿ëÀÚ CGI µð·ºÅ丮(add.cgi ÆÄÀÏÀÌ ÀÖ´Â)ÀÇ °æ·Î¿Í URLÀ»
¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö
¾Ê½À´Ï´Ù. $db_cgi_url = "c:/KLinksVer2_1/cgi-bin";
#
¸µ½º ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮(Ȩ°ú Ä«Å×°í¸® µîÀÌ
¸¸µé¾îÁú)ÀÇ °æ·Î¿Í # URLÀ» ¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ
³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $build_root_path = "c:/KLinksVer2_1/pages"; $build_root_url =
"/klinks/KLinksVer2_1/pages";
#
ÃÖ½ÅÁ¤º¸ ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ»
¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö
¾Ê½À´Ï´Ù. $build_new_path = "$build_root_path/ÃÖ½ÅÁ¤º¸"; $build_new_url
= "$build_root_url/ÃÖ½ÅÁ¤º¸"; # Ãßõ»çÀÌÆ®
ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù. #
°æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $build_cool_path
= "$build_root_path/Ãßõ»çÀÌÆ®"; $build_cool_url =
"$build_root_url/Ãßõ»çÀÌÆ®"; # Top 10 ÆäÀÌÁö°¡
¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í
URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $build_ratings_path
= "$build_root_path/Ratings"; $build_ratings_url =
"$build_root_url/Ratings"; # Database Options #
-------------------------------------------------------- # flock()
ÇÔ¼ö¸¦ Áö¿øÇÏÁö ¾Ê´Â ¿î¿µÃ¼Á¦¿¡¼´Â ´ÙÀ½°ú °°ÀÌ #
flock ÇÔ¼ö¸¦ »ç¿ëÇÏÁö ¾Êµµ·Ï ÇÕ´Ï´Ù. $db_use_flock
= 0; # Use Pragma: no-cache to stop browsers from caching
output? (0 = cache, 1 = nocache) $db_nocache = 0; # Use IIS headers? Set
this to 1 if your web server needs the full headers (HTTP/1.0 etc.) $db_iis
= 0; # Field number of category in category.db $db_main_category = 1; #
Referers -- which hosts are allowed to add to your database. @db_referers =
(); # Email Options #
-------------------------------------------------------- # NOTE: Be sure to
edit the text of the message. It can be found # in the templates directory:
email-add.txt, email-del.txt and # email-mod.txt respectively. # Set
only ONE of either $db_mail_path which should go to a # mail program like
sendmail, or $db_smtp_server which will use # a SMTP server. Do not set
both at once! # PATH of sendmail. # SMTP Server $db_mail_path =
'/usr/lib/sendmail'; $db_smtp_server = 'hiline2.shinbiro.com'; # win32¿¡¼´Â SMTP(º¸³»´Â ¸ÞÀÏ ¼¹ö)¸¦
ÁöÁ¤ÇØ Áֱ⸸ ÇÏ¸é µË´Ï´Ù. # ( ±»ÀÌ localhost ·Î
ÁöÁ¤ÇÏ¿© ¸ÞÀϼ¹ö±îÁö ¿î¿µÇÒ ÇÊ¿ä´Â ¾ø½À´Ï´Ù. ) #
Email address of the administrator. BE SURE TO SET! $db_admin_email = 'xhunter@orgio.net'; |
ÀÌ·¸°Ô ±îÁö¸¸ Çϰí http://localhost/klinks/cgi-bin/admin/admin.cgi
·Î Á¢¼ÓÇϼż µµ¿ò¸»°ú Æ÷·³À» Âü°í Çϼż »ç¿ëÇÏ½Ã¸é µË´Ï´Ù.
±×¿Ü¿¡ http://your.domain.com/ °°Àº
ºÎºÐÀÌ ³ª¿À¸é ¿©·¯ºÐÀÇ µµ¸ÞÀÎÀ» ¹Ù²ãÁÖ¼¼¿ä search2.cgi ,
birdcast.cgi , ÆÄÀÏÀ» ¿¾îº¸°í ¼³¸í¿¡ µû¶ó °ªÀ» ¹Ù²Ù¾î ÁÝ´Ï´Ù.
|