Çѱ۸µ½º *.cgi ÆÄÀÏÀÇ ½ºÅ©¸³Æ® 󸮱⠼±¾ðÇϱâ ( #!ÆÞÀÇ °æ·Î ¼³Á¤)
klinks25/cgi-bin/ Æú´õ ÇÏÀ§¿¡ ÀÖ´Â .cgi È®ÀåÀÚ¸¦ °¡Áø ÆÄÀϵéÀ» °¢°¢ ¸Þ¸ðÀåÀ¸·Î ¿¾î ù ÁÙ ( #!·Î ½ÃÀÛÇÏ´Â ºÎºÐ )À»
#!/usr/bin/perl ·Î ¹Ù²Ù°í ÀúÀåÇÕ´Ï´Ù.
ÀÌ °æ¿ì ÆÞÀÌ /usr/bin/perl ¿¡ ¼³Ä¡µÇ¾î ÀÖ´Â °ÍÀÔ´Ï´Ù.
Unix °è¿ÀÇ ¿î¿µÃ¼Á¦¿¡¼´Â "which perl" ¸í·ÉÀ¸·Î ¾Ë¾Æº¼ ¼ö ÀÖ½À´Ï´Ù.
°æ·ÎÁöÁ¤ ¹× Çѱ۸µ½º ¼³Á¤ - links.cfg
klinks25/cgi-bin/admin/links.cfg ¸¦ ¸Þ¸ðÀå°ú °°Àº ÇÁ·Î±×·¥À¸·Î ¿±´Ï´Ù.
# Paths and URL's to Important Stuff # -------------------------------------------------------- # ¿î¿µÀÚ CGI µð·ºÅ丮(admin.cgi ÆÄÀÏÀÌ ÀÖ´Â)ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. # ù ¹ø°´Â Àý´ë °æ·Î¸¦ ÀÔ·ÂÇÏ°í..µÎ ¹ø°´Â µµ¸ÞÀÎÀÇ URLÀ» ÀÔ·ÂÇÕ´Ï´Ù. $db_script_path = "/usr/local/apache/htdocs/zerotak/klinks25/cgi-bin/admin"; $db_dir_url = "http://zerotak.juri.com/klinks25/admin";
# »ç¿ëÀÚ CGI µð·ºÅ丮(add.cgi ÆÄÀÏÀÌ ÀÖ´Â)ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $db_cgi_path = "/usr/local/apache/htdocs/zerotak/klinks25"; $db_cgi_url = "http://zerotak.juri.com/klinks25"; # ¸µ½º ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮(Ȩ°ú Ä«Å×°í¸® µîÀÌ ¸¸µé¾îÁú)ÀÇ °æ·Î¿Í # URLÀ» ¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $build_root_path = "/usr/local/apache/htdocs/zerotak/klinks25/pages"; $build_root_url = "http://zerotak.juri.com/klinks25/pages";
# ÃÖ½ÅÁ¤º¸ ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $build_new_path = "$build_root_path/New"; $build_new_url = "$build_root_url/New";
# Ãßõ»çÀÌÆ® ÆäÀÌÁö°¡ ¸¸µé¾îÁú µð·ºÅ丮ÀÇ °æ·Î¿Í URLÀ» ¼³Á¤ÇÕ´Ï´Ù. # °æ·Î¿Í URLÀÇ ³¡¿¡ ½½·¡½¬(/)¸¦ ÀÔ·ÂÇÏÁö ¾Ê½À´Ï´Ù. $build_cool_path = "$build_root_path/Cool"; $build_cool_url = "$build_root_url/Cool";
# 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 , ÆÄÀÏÀ» ¿¾îº¸°í ¼³¸í¿¡ µû¶ó °ªÀ» ¹Ù²Ù¾î ÁÝ´Ï´Ù.
ÀÌ»óÀÔ´Ï´Ù.
|