Axil S/E kdk013
				  1997. 4. 16
				  Kim Do Kyung


SUBJECT : NCSA WEB Server Install Guide

DESCRIPTION:

¡Ú NCSA WEB Server Install Guide

	¡Ø Server Download ¹Þ±â

hyundai2# pwd
/usr/local/etc     <= ÀÌ °÷¿¡ ¹Þ´Â´Ù.

hyundai2# ftp ftp.svc.hei.co.kr
Connected to roche.svc.hei.co.kr.
220 www FTP server (Version wu-2.4(1) 1997³â 2¿ù 19ÀÏ ¼ö¿äÀÏ ¿ÀÈÄ 05½Ã 15ºÐ 56ÃÊ) ready.
Name (ftp.svc.hei.co.kr:root): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-
230-
230-
230-		       	        W E L C O M E ! 
230-
230-
230-
230-	      hyundai2 ¿¡¼­ ¿À½Å ´ç½ÅÀÇ ¹æ¹®À» ȯ¿µÇÕ´Ï´Ù. 
230-	¿©±â´Â Çö´ëÀüÀÚ Axil WEB Server(www)¿¡¼­ Á¦°øÇÏ´Â °ø°³ÀÚ·á½ÇÀÔ´Ï´Ù.
230-	  ÀÌ ¼­¹öÀÇ ÃÖ´ë »ç¿ëÀÚ¼ö´Â 10¸íÀ̸ç, ÇöÀç »ç¿ëÀÚ¼ö´Â 1ÀÔ´Ï´Ù.
230-	
230-	       ¹®ÀÇ »çÇ×ÀÌ ÀÖÀ¸½Ã¸é 080-950-1472·Î ÀüÈ­ÇϽðųª,
230-	       master@www.svc.hei.co.kr·Î ¸ÞÀÏÀ» º¸³»Áֽʽÿä.
230-
230-
230-		      Á¢¼Ó½Ã°£ : Tue Apr  8 13:55:53 1997
230-
230-                             Çö´ëÀüÀÚ »ê¾÷ÁÖ½Äȸ»ç
230-
230-
230-
230-Please read the file README.1ST
230-  it was last modified on Thu Feb 20 09:22:18 1997 - 47 days ago
230 Guest login ok, access restrictions apply.

ftp> cd pub
250-
250-	      	     ####### I N F O R M A T I O N #######
250-
250-
250-	CDE	     : Common Desktop Environment Package 
250-	HowtoHTML    : HTML ¹®¼­ ÀÛ¼º¹ý
250-	MEMO	     : ±â¼ú ÀÚ·á
250-	PROM	     : Ultra PROM Update Utility
250-	gnu	     : GNU Package
250-	mail	     : Sendmail,Elm,Hcode,Procmail,Qpopper,Zmail,Zpopper
250-	mpeg.solaris : Solaris¿ë MPEG Player
250-	netpatches   : Network Performance °ü·Ã Patches
250-	patches      : All Public Patches
250-	realaudio    : SunOS,Solaris¿ë RealAudio Player
250-	upatches     : ±âŸ Patches
250-	utility	     : Gzip,Kermit,Zmodem,Ftptool
250-	www          : WEB °ü·Ã Solution
250-	
250-
250-
250 CWD command successful.

ftp> cd www
250 CWD command successful.

ftp> cd server
250 CWD command successful.

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 382980
drwxr-xr-x   2 root     other       1024 Jan  4 02:24 .
drwxr-xr-x  12 root     other        512 Mar 27 05:51 ..
-rw-r--r--   1 root     other    4930408 Dec 17 08:38 calendar.solaris2.4.tar.gz
-rw-r--r--   1 root     other    4930599 Dec 17 08:38 calendar.solaris2.5.tar.gz
-rw-r--r--   1 root     other    10852121 Sep 12  1996 catalog-1.0.solaris.tar.gz
-rw-r--r--   1 root     other    10297372 Nov  4 08:03 directory-1.0.solaris.tar.gz
-rw-r--r--   1 root     other    17004814 Oct 18 07:19 enterprise-2.0.nt.exe
-rw-r--r--   1 root     other    19951265 Oct 18 07:18 enterprise-2.0.solaris.tar.gz
-rw-r--r--   1 root     other    11022848 Oct 18 03:52 fasttrack-2.0.nt.exe
-rw-r--r--   1 root     other    10297528 Sep 12  1996 fasttrack-2.0.solaris.tar.gz
-rw-r--r--   1 root     other    11117056 Oct 18 03:51 fasttrack-2.0.win95.exe
-rw-r--r--   1 root     other     430581 Jan  4 02:23 httpd_1.5.2-export_source.tar.Z
-rw-r--r--   1 root     other    18238592 Dec 17 08:38 livewirepro-101.solaris.tar.gz
-rw-r--r--   1 root     other    7432560 Sep 12  1996 mail-2.0.solaris.tar.gz
-rw-r--r--   1 root     other    7444267 Dec 17 06:50 mail-202.solaris.tar.gz
-rw-r--r--   1 root     other    20059368 Nov  1 00:06 news-2.01.solaris.tar.gz
-rw-r--r--   1 root     other    13325437 Sep 12  1996 proxy-2.0.solaris.tar.gz
-rw-r--r--   1 root     other    18786903 Dec 17 08:39 proxy-2.5.solaris.tar.gz
-rw-r--r--   1 root     other    9672050 Sep 12  1996 resource.solaris.tar.gz
226 Transfer complete.
1521 bytes received in 0.69 seconds (2.1 Kbytes/s)

ftp> bi
200 Type set to I.

ftp> ha
Hash mark printing on (8192 bytes/hash mark).

ftp> get httpd_1.5.2-export_source.tar.Z
200 PORT command successful.
150 Opening BINARY mode data connection for httpd_1.5.2-export_source.tar.Z (430581 bytes).
#####################################################
226 Transfer complete.
local: httpd_1.5.2-export_source.tar.Z remote: httpd_1.5.2-export_source.tar.Z
430581 bytes received in 0.53 seconds (8e+02 Kbytes/s)
ftp> bye
221 Goodbye.

hyundai2# uncompress httpd_1.5.2-export_source.tar.Z

hyundai2# tar xvf httpd_1.5.2-export_source.tar
x httpd_1.5.2-export, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/BUGS, 2250 bytes, 5 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/CHANGES, 12380 bytes, 25 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/COPYRIGHT, 3251 bytes, 7 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/CREDITS, 4998 bytes, 10 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/Makefile, 1927 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/README, 3437 bytes, 7 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/README.fcgi, 939 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/LICENSE.TERMS.fcgi, 2507 bytes, 5 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/cgi-bin/archie, 379 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/calendar, 478 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/date, 151 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/donothing, 45 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/finger, 454 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/fortune, 172 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/mail, 13231 bytes, 26 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/nph-error.pl, 5157 bytes, 11 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/nph-test-cgi, 736 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/redirect, 3277 bytes, 7 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/test-cgi, 721 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/test-cgi.tcl, 1472 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/test-env, 49 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/uptime, 165 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-bin/wais.pl, 2682 bytes, 6 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/cgi-src/Makefile, 1208 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/change-passwd.c, 5253 bytes, 11 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/imagemap.c, 11993 bytes, 24 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/jj.c, 10053 bytes, 20 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/phf.c, 7185 bytes, 15 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/post-query.c, 1603 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/query.c, 1435 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/util.c, 2972 bytes, 6 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/cgi-src/util.h, 374 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/conf, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/conf/access.conf-dist, 1549 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/conf/httpd.conf-dist, 9825 bytes, 20 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/conf/localhost_srm.conf-dist, 1497 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/conf/mime.types, 3319 bytes, 7 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/conf/srm.conf-dist, 7175 bytes, 15 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/icons/back.xbm, 506 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/ball.gif, 83 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/ball.xbm, 437 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/binary.gif, 134 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/binary.xbm, 533 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/blank.xbm, 509 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/blue_ball.gif, 83 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/ftp.gif, 128 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/ftp.xbm, 524 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/green_ball.gif, 83 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/image.gif, 231 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/image.xbm, 509 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/index.gif, 104 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/index.xbm, 530 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/menu.gif, 115 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/menu.xbm, 527 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/movie.gif, 125 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/movie.xbm, 530 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/red_ball.gif, 83 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/sound.gif, 129 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/sound.xbm, 530 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/telnet.gif, 127 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/telnet.xbm, 533 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/text.gif, 130 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/text.xbm, 511 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/unknown.gif, 132 bytes, 1 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/icons/unknown.xbm, 515 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/src/CHANGES, 739 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/FEATURE_REQUESTS, 1855 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/HTTP_HEADERS, 5040 bytes, 10 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/HTTPd_REQ_PATH, 4594 bytes, 9 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/Makefile, 10189 bytes, 20 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/allocate.c, 5674 bytes, 12 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/allocate.h, 1666 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/blackout.c, 4538 bytes, 9 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/blackout.h, 746 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/cgi.c, 20754 bytes, 41 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/cgi.h, 1297 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/config.h, 6069 bytes, 12 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/constants.h, 10411 bytes, 21 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/debug.c, 1573 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/digest.c, 9001 bytes, 18 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/digest.h, 552 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/env.c, 4952 bytes, 10 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/env.h, 1233 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/fcgi.c, 93553 bytes, 183 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/fcgi.h, 906 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/fdwrap.c, 5967 bytes, 12 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/fdwrap.h, 1610 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/global.h, 1222 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/host_config.c, 8866 bytes, 18 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_auth.c, 30362 bytes, 60 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/host_config.h, 1997 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_access.c, 16676 bytes, 33 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_access.h, 965 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_alias.c, 4014 bytes, 8 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_alias.h, 1605 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_auth.h, 2073 bytes, 5 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_config.c, 46205 bytes, 91 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_config.h, 1816 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_dir.c, 20458 bytes, 40 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_dir.h, 2115 bytes, 5 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_include.c, 25144 bytes, 50 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_include.h, 1218 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_ipc.c, 7556 bytes, 15 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_ipc.h, 750 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_log.c, 21464 bytes, 42 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_log.h, 2229 bytes, 5 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_mime.c, 10139 bytes, 20 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_mime.h, 1619 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_request.c, 20258 bytes, 40 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_request.h, 1488 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_send.c, 18113 bytes, 36 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/http_send.h, 1291 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/httpd.c, 33571 bytes, 66 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/httpd.h, 1810 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/httpd.man, 1710 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/httpy.h, 39724 bytes, 78 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/imagemap.c, 11169 bytes, 22 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/imagemap.h, 1201 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/md5.c, 4931 bytes, 10 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/md5.h, 1414 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/md5c.c, 10375 bytes, 21 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/open_logfile.c, 4964 bytes, 10 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/open_logfile.h, 830 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/portability.h, 14059 bytes, 28 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/rfc822.c, 1242 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/rfc931.c, 4957 bytes, 10 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/util.c, 32237 bytes, 63 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/util.h, 3271 bytes, 7 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/src/patch, 210613 bytes, 412 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/support/Makefile, 2887 bytes, 6 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/README, 1095 bytes, 3 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/README.change-passwd, 2669 bytes, 6 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/change-passwd.readme, 2990 bytes, 6 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/dbm2std.c, 1565 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/dbmdigest.c, 4387 bytes, 9 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/dbmgroup.c, 8494 bytes, 17 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/dbmpasswd.c, 8058 bytes, 16 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/htdigest.c, 594 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/htpasswd.c, 4205 bytes, 9 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/inc2shtml.c, 2586 bytes, 6 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/std2dbm.c, 2131 bytes, 5 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/unescape.c, 2043 bytes, 4 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/webgrab.c, 4572 bytes, 9 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/auth, 0 bytes, 0 tape blocks
x httpd_1.5.2-export/support/auth/pgp-dec, 1019 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/auth/pgp-enc, 552 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/auth/ripem-dec, 956 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/auth/ripem-enc, 922 bytes, 2 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/auth/uudecode.c, 4943 bytes, 10 Å×ÀÌÇÁ ºí·°
x httpd_1.5.2-export/support/auth/uuencode.c, 4012 bytes, 8 Å×ÀÌÇÁ ºí·°

hyundai2# rm httpd_1.5.2-export_source.tar

hyundai2# cd httpd_1.5.2-export

hyundai2# ls
BUGS                LICENSE.TERMS.fcgi  cgi-bin             src
CHANGES             Makefile            cgi-src             support
COPYRIGHT           README              conf
CREDITS             README.fcgi         icons

	¡Ø ÄÄÆÄÀÏ Çϱâ	

hyundai2# which gcc  <= gcc¸¦ ÀÌ¿ëÇØ ÄÄÆÄÀÏ ÇÑ´Ù.
/opt/gnu/bin/gcc

hyundai2# make solaris
cd src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/;  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/;'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/;" make solaris ; cd ../cgi-src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/;  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/;'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/;" make solaris ; cd ../support ; make solaris 
make tar AUX_CFLAGS=-DSOLARIS2 EXTRA_LIBS="-lsocket -lnsl" CC=gcc CFLAGS=-O
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  httpd.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_config.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_request.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  util.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_dir.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_alias.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_log.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_mime.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_access.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_auth.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_send.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  cgi.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_include.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  rfc931.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  imagemap.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  http_ipc.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  digest.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  md5.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  md5c.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  env.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  host_config.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  fdwrap.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  open_logfile.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  allocate.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  debug.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  blackout.c
gcc -c -O -DSOLARIS2 -DDIGEST_AUTH  -DDBM_SUPPORT  fcgi.c
gcc  -o ../httpd httpd.o http_config.o http_request.o util.o http_dir.o  http_alias.o http_log.o http_mime.o http_access.o http_auth.o  http_send.o cgi.o http_include.o rfc931.o imagemap.o  http_ipc.o digest.o md5.o md5c.o env.o host_config.o fdwrap.o  open_logfile.o allocate.o debug.o blackout.o fcgi.o -lsocket -lnsl   
make all CC=gcc
gcc -c -g query.c
gcc -c -g util.c
gcc query.o util.o -o ../cgi-bin/query
gcc -c -g post-query.c
gcc post-query.o util.o -o ../cgi-bin/post-query
gcc -c -g imagemap.c
gcc imagemap.o -o ../cgi-bin/imagemap
gcc -c -g jj.c
gcc jj.o util.o -o ../cgi-bin/jj
gcc -c -g phf.c
phf.c:39: warning: initialization makes integer from pointer without a cast
phf.c:39: warning: initialization makes integer from pointer without a cast
phf.c:56: warning: initialization makes integer from pointer without a cast
phf.c:56: warning: initialization makes integer from pointer without a cast
gcc phf.o util.o -o ../cgi-bin/phf
make all CC=gcc CFLAGS="-DSOLARIS2" EXTRA_LIBS="-lnsl -lsocket"
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/htpasswd.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/htpasswd.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/htpasswd.c" -o htpasswd -lnsl -lsocket
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/unescape.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/unescape.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/unescape.c" -o unescape
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/inc2shtml.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/inc2shtml.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/inc2shtml.c" -o inc2shtml
gcc -c -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/htdigest.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/htdigest.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/htdigest.c"
gcc -DSOLARIS2 -o htdigest htdigest.o ../src"javascript:if(confirm('http://item-hunter.com/md5.o  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/md5.o'" tppabs="http://item-hunter.com/md5.o" ../src/md5c.o -lnsl -lsocket
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/dbm2std.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/dbm2std.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/dbm2std.c" -o dbm2std -lnsl -lsocket
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/std2dbm.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/std2dbm.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/std2dbm.c" -o std2dbm -lnsl -lsocket
gcc -c -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/dbmdigest.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/dbmdigest.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/dbmdigest.c"
dbmdigest.c: In function `add_password':
dbmdigest.c:105: warning: assignment makes pointer from integer without a cast
gcc -DSOLARIS2 -o dbmdigest dbmdigest.o ../src"javascript:if(confirm('http://item-hunter.com/md5.o  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/md5.o'" tppabs="http://item-hunter.com/md5.o" ../src/md5c.o -lnsl -lsocket
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/dbmgroup.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/dbmgroup.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/dbmgroup.c" -o dbmgroup -lnsl -lsocket
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/dbmpasswd.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/dbmpasswd.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/dbmpasswd.c" -o dbmpasswd -lnsl -lsocket
dbmpasswd.c: In function `get_passwd':
dbmpasswd.c:134: warning: assignment makes pointer from integer without a cast
gcc -DSOLARIS2 -I../src "javascript:if(confirm('http://item-hunter.com/~chang/src/lecture/MEMO/webgrab.c  \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found.  \n\nDo you want to open it from the server?'))window.location='http://item-hunter.com/~chang/src/lecture/MEMO/webgrab.c'" tppabs="http://item-hunter.com/~chang/src/lecture/MEMO/webgrab.c" -o webgrab -lnsl -lsocket
webgrab.c: In function `main':
webgrab.c:168: warning: passing arg 2 of `connect' from incompatible pointer type

hyundai2# ls -F
BUGS                 Makefile             conf/
CHANGES              README               httpd*
COPYRIGHT            README.fcgi          icons/
CREDITS              cgi-bin/             src"index-1.htm" tppabs="http://item-hunter.com/"
LICENSE.TERMS.fcgi   cgi-src"index-1.htm" tppabs="http://item-hunter.com/"             support/


	¡Ø ȯ°æ ¼ÂÆÃÇϱâ

hyundai2# pwd
/usr/local/etc/httpd_1.5.2-export

hyundai2# cd ..

hyundai2# mv httpd_1.5.2-export httpd

hyundai2# cd httpd

hyundai2# cd conf      <= ¸ðµç ȯ°æÈ­ÀÏÀÌ ÀÖ´Ù.

hyundai2# ls
access.conf-dist         localhost_srm.conf-dist  srm.conf-dist
httpd.conf-dist          mime.types

hyundai2# ls -l
ÃÑ 52
-rw-r--r--   1 524      other       1549 1996³â  6¿ù 26ÀÏ access.conf-dist
-rw-r--r--   1 524      other       9825 1996³â  6¿ù 26ÀÏ httpd.conf-dist
-rw-r--r--   1 524      other       1497 1996³â  6¿ù 26ÀÏ localhost_srm.conf-dist
-rw-r--r--   1 524      other       3319 1996³â  6¿ù 26ÀÏ mime.types
-rw-r--r--   1 524      other       7175 1996³â  6¿ù 26ÀÏ srm.conf-dist

hyundai2# mv access.conf-dist access.conf
hyundai2# mv httpd.conf-dist httpd.conf
hyundai2# mv srm.conf-dist srm.conf

hyundai2# vi access.conf	<= ServerÀÇ º¸¾È¿¡ °ü·ÃµÈ Á¤º¸µéÀÌ ÀÖ´Ù.

#===========================================================================
# NCSA HTTPd (comments, questions to httpd@ncsa.uiuc.edu)
#===========================================================================
# This is the gloabal access configuration file.
# Documentation for NCSA HTTPd is available from
# http://hoohoo.ncsa.uiuc.edu/
# Documentation specific to this file is at 
# http://hoohoo.ncsa.uiuc.edu/docs/setup/access/Overview.html
# http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html
#
# NCSA takes no responsibilty for any problems that result from the use
# of this server.  See the COPYRIGHT statement that came with this 
# distribution.
#===========================================================================


# /usr/local/etc/httpd/ should be changed to whatever you set ServerRoot to.

Options Indexes FollowSymLinks


############################################################################
# µð·ºÅ丮¿¡ ¿É¼ÇÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù.
# 
# None 		 : ¾î¶² ¿É¼Çµµ Çã¿ë ¾ÈÇÔ 
# All 		 : ¸ðµç ¿É¼ÇÀ» Çã¿ë ÇÔ
# FollowSymLinks : symbolic link Çã¿ë
# SymLinksIfOwnerMatch : »ç¿ëÀÚÀÇ PID¿Í symbolic linkÀÇ owner°¡ ÀÏÄ¡Çϸé Çã¿ë 
# ExecCGI        : CGI ½ºÅ©¸³Æ® Çã¿ë
# Include        : SSI(Server Side Include) Çã¿ë
#                  ¡Ø SSI´Â À¥¼­¹ö°¡ Ŭ¶óÀ̾ðÆ®µé¿¡°Ô °¢ ¹®¼­¿¡ ´ëÇÑ ÇöÀ糯¥,
#                     ÆÄÀÏÀÇ ¸¶Áö¸· ¼öÁ¤ ³¯Â¥, ÆÄÀÏÀÇ Å©±â µî°ú °°Àº Ãß°¡Á¤º¸¸¦
# indexes        : URL¿¡ µð·ºÅ丮¸¸ ÁöÁ¤ÇßÀ» ¶§ ÀÌ µð·ºÅ丮¿¡ ÁöÁ¤µÈ µðÆúƮȭÀÏ
#		   ÀÌ ¾øÀ» °æ¿ì Àüü È­ÀÏÀÇ ¸ñ·ÏÀ» º¸¿© ÁÙ °ÍÀΰ¡¸¦ ÁöÁ¤ÇÑ´Ù.
# IncludeNoExec  : Include ±â´ÉÁß execÀÇ ±â´ÉÀº Á¦°øÇÏÁö ¾Ê°Ô ÇÑ´Ù.
###############################################################################

# This should be changed to whatever you set DocumentRoot to.



# This may also be "None", "All", or any combination of "Indexes",
# "Includes", or "FollowSymLinks"

Options Indexes FollowSymLinks

# This controls which options the .htaccess files in directories can
# override. Can also be "None", or any combination of "Options", "FileInfo", 
# "AuthConfig", and "Limit"

AllowOverride All

# Controls who can get stuff from this server.


order allow,deny
allow from All	<= ¸ðµÎ¿¡°Ô Access Çã¿ë




# You may place any other directories you wish to have access
# information for after this one.

############################################################################

hyundai2# vi httpd.conf	<= ¼­¹öÀÇ È¯°æ È­ÀÏÀÌ´Ù.

#===========================================================================
# NCSA HTTPd (comments, questions to httpd@ncsa.uiuc.edu)
#===========================================================================
# This is the main server configuration file. It is best to 
# leave the directives in this file in the order they are in, or
# things may not go the way you'd like. See URL http://hoohoo.ncsa.uiuc.edu/
# for instructions.
# Do NOT simply read the instructions in here without understanding
# what they do, if you are unsure consult the online docs. You have been
# warned.
# Thanks to A. P. Harris for some of the organization and explanations
# contained here-in.
#===========================================================================

#===========================================================================
# Server Operation
#---------------------------------------------------------------------------
# ServerType is either inetd, or standalone.
# Set to 'inetd' to run from inetd, or 'standalone', to run as a daemon.
# Default: standalone

ServerType standalone 	<= inetd·Î Çϸé inet DaemonÀÌ Request ¿äû¿¡ µû¶ó¼­
			   »õ·Î¿î ÇÁ·Î¼¼½º¸¦ ForkÇÏ¿© ó¸®ÇϹǷΠÀ̶§¸¶´Ù
			   Configuration FileÀ» Àоîµå¸®°Ô µÇ¹Ç·Î ºñÈ¿À²ÀûÀÌ´Ù.

# If you are running from inetd, go to "ServerAdmin".

# Port: The port the standalone listens to. For ports < 1023, you will
# need HTTPd to be run as root initially.
# Default: 80 (or DEFAULT_PORT)

Port 80 	<= Default PortÀÎ 80 ÀÌ¿ÜÀÇ port¸¦ »ç¿ëÇϸé URL¿¡ Æ÷Æ®¹øÈ£¸¦
 		   ÁöÁ¤ÇØ¾ß ÇÑ´Ù. ex) http://www.axil.com:88/

# StartServers: The number of servers to launch at startup.  Must be
# compiled without the NO_PASS compile option
# Default: 5 (or DEFAULT_START_DAEMON)

StartServers 1	<= Ãʱâ startup½Ã ±¸µ¿µÉ ¼­¹öÀÇ ¼ö.Áï, Super User¿¡¼­ httpd¸¦
 		   ½ÇÇà½ÃÄ×´Ù¸é UID°¡ rootÀÎ httpd Daemon Çϳª¿Í UID°¡ nobodyÀÎ
		   httpd°¡ Çϳª¾¿ ±¸µ¿µÈ´Ù.

# MaxServers: The number of servers to launch until mimic'ing the 1.3
# scheme (new server for each connection).  These servers will stay around
# until the server is restarted.  They will be reused as needed, however.
# See the documentation on hoohoo.ncsa.uiuc.edu for more information.
# If compile option RESOURCE_LIMIT is used, HTTPd will not mimic the 1.3
# behavior, and MaxServers will be the maximum number of servers possible.
# Default: 10 (or DEFAULT_MAX_DAEMON)

MaxServers 3	<= µ¿½Ã¿¡ ¿©·¯ Request°¡ ¿Ã°æ¿ì¿£ ¼­¹ö(httpd Daemon)ÀÇ ¼ö°¡ ÃÖ°í
  	 	   3°³±îÁö ´Ã¾î³¯ ¼ö ÀÖ´Ù´Â ÀǹÌ.

## TimeOut 
# The number of seconds the server will wait for a client to
# send its query once connected, or the maximum amount of time the
# server will spend waiting for a client to accept information.
# Default: 1200 (or DEFAULT_TIMEOUT)

TimeOut 1200

# If you wish HTTPd to run as a different user or group, you must run
# HTTPd as root initially and it will switch.  
# User/Group: The name (or #number) of the user/group to run HTTPd as.
# Default: #-1 (or DEFAULT_USER / DEFAULT_GROUP)

User nobody	<= httpdÀÇ owner ´Ü, ¼­¹öŸÀÔÀÌ standaloneÀÏ °æ¿ì¿¡¸¸ Àû¿ëµÊ
Group nobody   	<= httpdÀÇ group ´Ü, ¼­¹öŸÀÔÀÌ standaloneÀÏ °æ¿ì¿¡¸¸ Àû¿ëµÊ

# IdentityCheck: Enables or disables RFC931 compliant logging of the 
# remote user name for sites which run identd or something similar. 
# This information is logged in the access_log.  Note that it 
# *will* hurt responsiveness considerably, especially for non-unix clients.
# Default: off (or DEFAULT_RFC931)

#IdentityCheck On

# AssumeDigestSupport: Whether it's safe to assume that clients support 
# md5 digesting.
# Default: off

#AssumeDigestSupport On

#===========================================================================
# Server Customization
#---------------------------------------------------------------------------
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e. use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you 
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# Valid with 
# Default: If you do not specify a ServerName, HTTPd attempts to retrieve
#	   it through system calls.

ServerName atom.svc.hei.co.kr  	<= ¼­¹öÀÇ À̸§. µµ¸ÞÀÎ À̸§±îÁö ÁØ´Ù.

# ServerAdmin: Your address, where problems with the server should be
# e-mailed.
# Valid within 
# Default:  (or DEFAULT_ADMIN)

ServerAdmin root@atom.svc.hei.co.kr	<= Admin UserÀÇ Email=WebMaster

#===========================================================================
# File Locations
#---------------------------------------------------------------------------
# ServerRoot: The directory the server's config, error, and log files
# are kept.
# Note: All other paths will use this as a prefix if they don't start with /
# Default: /usr/local/etc/httpd (or HTTPD_ROOT)

ServerRoot /usr/local/etc/httpd	<= ¼­¹öÀÇ ·çÆ® µð·ºÅ丮
				   

# ErrorLog: The location of the error log file. If this does not start
# with /, ServerRoot is prepended to it.

ErrorLog logs/error_log	

# TransferLog: The location of the transfer log file. If this does not
# start with /, ServerRoot is prepended to it.

TransferLog logs/access_log

# AgentLog: The location of the agent log file.  If this does not start
# with /, ServerRoot is prepended to it.

AgentLog logs/agent_log	<= Client software¿¡¼­ ¹ÞÀº UserAgent headerÀÇ Log ÀúÀå

# RefererLog: The location of the referer log file.  If this does not
# start with /, ServerRoot is prepended to it.

RefererLog logs/referer_log	<= ¼­¹öÀÇ ¹®¼­¸¦ ÂüÁ¶ÇÏ´Â ¹®¼­ÀÇ Log¸¦ 
				   URL -> Document ÇüÅ·Π±â·ÏÇÑ´Ù.

# PidFile: The file the server should log its pid to
PidFile logs/httpd.pid

# AccessConfig: The location of the access configuration file
# Default: conf/access.conf (or ACCESS_CONFIG_FILE)

AccessConfig conf/access.conf

# TypesConfig: The location of the typing configuration file, which
# maps filename extensions to MIME types.
# Default: conf/mime.types (or TYPES_CONFIG_FILE)

#TypesConfig /usr/local/lib/mime.types <= ¼­¹ö¿¡¼­ »ç¿ëÇÒ MIMEÀ» ÁöÁ¤

# CoreDirectory:  where to dump core.
# Default: SERVER_ROOT

#CoreDirectory /tmp


#===========================================================================
# Logging Directives
#---------------------------------------------------------------------------
# LogOptions: This determines the type of log file you are using,
# Valid options currently are:
# 	Combined for CLF with Referer and UserAgent tagged on
#	Separate for CLF in one file and Referer and UserAgent in separate files
#	Servername for CLF + ServerName 
#	Date for Referer and UserAgent logs with same date stamp as access_log

LogOptions Separate

# LogDirGroupWriteOk, LogDirOtherWriteOk: Define either of these if you 
# want the server to start even if you have write permissions on the log
# directory.  Having write permissions set is a potential security hole.
# Only makes a difference if the server process is started by root.

#LogDirGroupWriteOk
#LogDirOtherWriteOk

# RefererIgnore: If you don't want to keep track of links from certain
# servers (like your own), place it here.  If you want to log them all,
# keep this line commented.

#RefererIgnore servername

# DNSMode allows you to control the amount of DNS activity the server will
# perform.  The default is Standard, which means it does a single lookup
# on every request.  Minimum means the server will only do a lookup if 
# necessary to fulfill a domain restriction.  Maximum means the server
# will do two lookups per request.  This will be slow, and not necessarily
# that much better security.  None will keep the server from doing any
# DNS resolution.  Maximum is the same as the old MAXIMUM_DNS compile option,
# and none is the same as the old MINIMUM_DNS option.
# Default: Standard

DNSMode Standard

#===========================================================================
# KeepAlive Directives
#---------------------------------------------------------------------------
# The directives below configure keepalive, the ability of the server
# to maintain a persistent connection with a client at the client's
# request

# The following line turns keepalive on. The default is off, so
# you can omit this line, or change 'on' to 'off'

# KeepAlive on

# The following line specifies the timeout in seconds of the 
# persistent connection. If the client fails to issue another
# request on the socket within this window, the connection is closed

# KeepAliveTimeout 10

# The following line specifies the maximum number of requests
# that will be accepted on the persistent connection. If it
# is set to 0, then there will be no maximum.
# Default: 

# MaxKeepAliveRequests 0

#===========================================================================
# Misc Options
#---------------------------------------------------------------------------

#ProcessName: This is the prefix for the process name if compiled with
# SETPROCTITLE.
# Default: HTTPd

#ProcessName WebServer

#Annotation-Server: Name of our annotation server.  This will send back
# an Annotation: header with requests to denote where the annotation server
# is located.
#Default: None


#===========================================================================
# VirtualHost
#---------------------------------------------------------------------------
# VirtualHosting is the ability to respond differently to different IP
# addresses.  It can be implemented either by having a single server respond
# to all, or by having a different server respond to each (the Unix(tm) OS
# setup precludes responding to some)  Every effort has been made to allow
# a single server respond to all as effectively as possible, as this is
# more resource efficient.  There are something which still aren't possible
# in that configuration, however.

# BindAddress: A '*', IP number, or host name.  Binds the server to a 
# specific IP address.  * is all IP addresses.  Should not be used in
# conjunction with 
# Default: *

#BindAddress 127.0.0.1

# VirtualHost allows you to look differently depending on the hostname you
# are called by.  The parameter must be either an IP address or a hostname
# that maps to a single IP address.  Most of the normal httpd.conf commands
# are available, as well as the ability to denote a special ResourceConfig
# file for this host.
# You can also specify an error level with this setting, by denoting the 
# VirtualHost as Optional or Required.

#
#DocumentRoot /local
#ServerName localhost.ncsa.uiuc.edu
#ResourceConfig conf/localhost_srm.conf
#

###########################################################################

hyundai2# vi srm.conf

#===========================================================================
# NCSA HTTPd (comments, questions to httpd@ncsa.uiuc.edu)
#===========================================================================
# This is the server resource configuration file.  With this document, 
# you define the name space that users of your server see.
# See URL http://hoohoo.ncsa.uiuc.edu/ for HTTPd Documentation.
# Information specific to this file can be found at
# http://hoohoo.ncsa.uiuc.edu/docs/setup/srm/Overview.html
# Do NOT simply read the instructions in here without understanding
# what they do.  If you are unsure, consult the online docs.  You have been
# warned.
#===========================================================================


#===========================================================================
# Name Space Options
#---------------------------------------------------------------------------
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.

DocumentRoot /usr/local/etc/httpd/htdocs	<= DocumentÀÇ ·çÆ®

# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.

UserDir wwwhome		<= À¥¼­¹ö¿¡ µî·ÏµÇ¾î ÀÖ´Â ÀÏ¹Ý À¯ÀúµéÀÇ È¨µð·ºÅ丮 ¾Æ·¡
 			   wwwhome µð·ºÅ丮 ¹ØÀ¸·Î °¢ À¯ÀúµéÀÇ È¨ÆäÀÌÁö¸¦ ¸¸µé¼ö
			   ÀÖ´Ù. Áï, URLÀÌ http://hostname.domainname/~user À̸é
                           AxilÀÇ ~user/wwwhome/index.htmlÀ» ¾×¼¼½ºÇÑ´Ù.

# Redirect allows you to tell clients about documents which used to exist in
# your server's namespace, but do not anymore. This allows you to tell the
# clients where to look for the relocated document.
# Format: Redirect fakename url

Redirect /Axil/ http://www.svc.hei.co.kr/	

# Aliases: Add here as many aliases as you need. The format is 
# Alias fakename realname

Alias /icons/ /usr/local/etc/httpd/icons/	<= µð·ºÅ丮 ¸ÅÇο¡ »ç¿ë

# ScriptAlias: This controls which directories contain server scripts.
# Format: ScriptAlias fakename realname

ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/	<= CGI ÇÁ·Î±×·¥ µð·ºÅ丮

#===========================================================================
# OpenMarket's FCGI Support Options (http://www.fastcgi.com/
#---------------------------------------------------------------------------
# FCGIScritpAlias: Same as ScriptAlias, except for FCGI scripts
# Format: FCGIScriptAlias fakename realname

#FCGIScriptAlias /fcgi-bin/ /usr/local/etc/httpd/fcgi-devel-kit/examples/

# Define the AppClasses. These get hit when requests come in for
# /fcgi-bin/tiny-fcgi.fcgi or /fcgi-bin/tiny-fcgi2.fcgi
#AppClass /usr/local/etc/httpd/fcgi-devel-kit/examples/tiny-fcgi.fcgi -listen-queue-depth 10 -processes 2
#AppClass /usr/local/etc/httpd/fcgi-devel-kit/examples/tiny-fcgi2.fcgi -listen-queue-depth 10 -processes 2

#===========================================================================
# Directory Indexing
#---------------------------------------------------------------------------
# If a user requests a document (URL) from your server ending in /, the
# server will attempt to "index" the directory.  It will first look for 
# a file matching the DirectoryIndex directive in order.  If no files 
# exist, and Indexing is allowed for that directory, the server will provide
# an index that it generates itself.  These options allow you to modify the
# look of that index.

# DirectoryIndex: Name of the file to use as a pre-written HTML
# directory index.  These files are used if a directory is referenced.

DirectoryIndex index.html index.shtml index.cgi	<= µð·ºÅ丮 ¾×¼¼½º½Ã µðÆúÆ®·Î 
 						   ÂüÁ¶ÇÒ È­Àϸí

# IndexOptions

IndexOptions FancyIndexing

# AddIcon tells the server which icon to show for different files or filename
# extensions

AddIconByType (TXT,/icons/text.gif) text/*	<= µð·ºÅ丮 ¸®½ºÆ®¿¡ º¸¿©ÁÙ 
AddIconByType (IMG,/icons/image.gif) image/*	   ¾ÆÀÌÄÜ ¼³Á¤
AddIconByType (SND,/icons/sound.gif) audio/*
AddIcon /icons/movie.gif .mpg .qt
AddIcon /icons/binary.gif .bin

AddIcon /icons/back.xbm ..
AddIcon /icons/menu.gif ^^DIRECTORY^^
AddIcon /icons/blank.xbm ^^BLANKICON^^

# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.

DefaultIcon /icons/unknown.xbm	<= À§¿¡¼­ ÇØ´çÀÌ ¾ÈµÈ È­ÀÏ¿¡ Àû¿ë

# AddDescription allows you to place a short description after a file in
# server-generated indexes.
# Format: AddDescription "description" filename

# ReadmeName is the name of the README file the server will look for by
# default. Format: ReadmeName name
#
# The server will first look for name.html, include it if found, and it will
# then look for name and include it as plaintext if found.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes. 

ReadmeName README	<= µð·ºÅ丮 À妽º½Ã ¸®½ºÆ®ÀÇ ¸¶Áö¸·¿¡ Ãâ·ÂµÈ´Ù.
HeaderName HEADER	<= µð·ºÅ丮 À妽º½Ã ¸®½ºÆ®ÀÇ ¸ÇóÀ½¿¡ Ãâ·ÂµÈ´Ù.
			   ¡Ø  HTML ¹®¹ý ¼ö¿ëµÊ

# IndexIgnore is a set of filenames which directory indexing should ignore
# This doesn't use full regexp syntax, perhaps it should . . .
# Format: IndexIgnore name1 name2...

IndexIgnore */.??* *~ *# */HEADER* */README*	<= µð·ºÅ丮 À妽º½Ã ¹«½ÃÇÔ

#===========================================================================
# Content Type and Mime Configuration
#---------------------------------------------------------------------------
# Although NCSA HTTPd doesn't fully support the content-negotiation that
# exists in HTTP/1.1, it does attempt to correctly identify different 
# encodings and types of files it serves.  The following options specify
# how it does this

# DefaultType is the default MIME type for documents which the server
# cannot find the type of from filename extensions.

DefaultType text/plain

# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
# Format: AddType type/subtype ext1

# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
# information on the fly. Note: Not all browsers support this.

#AddEncoding compress Z
#AddEncoding gzip gz

# The following are known to the server as "Magic Mime Types"  They allow
# you to change how the server perceives a document by the extension
# The server currently recognizes the following mime types for server side
# includes, internal imagemap, and CGI anywhere.  Uncomment them to use them.
# Note: If you disallow (in access.conf) Options Includes ExecCGI, and you
# uncomment the following, the files will be passed with the magic mime type
# as the content type, which causes most browsers to attempt to save the 
# file to disk.

AddType text/x-server-parsed-html .shtml
AddType text/x-imagemap .map
AddType application/x-httpd-cgi .cgi	<= ".cgi"·Î ³¡³ª´Â È­ÀÏÀº CGIÀ̹ǷΠ¾î´À
#AddType application/x-httpd-fcgi .fcgi     µð·ºÅ丮¿¡ ÀÖµçÁö READÇÏÁö¸»°í ½ÇÇà
					    ÇÒ°ÍÀ» ÁöÁ¤ÇØ ÁØ´Ù.
#===========================================================================
# Misc Server Resources
#---------------------------------------------------------------------------
# AccessFileName: The name of the file to look for in each directory
# for access control information and directory specific configuration

AccessFileName .htaccess	<= µð·ºÅ丮ÀÇ Á¢±ÙÁ¦¾î½Ã ÂüÁ¶ÇÏ´Â È­ÀÏ

# If you want to have files/scripts sent instead of the built-in version
# in case of errors, uncomment the following lines and set them as you
# will.  Note: scripts must be able to be run as if the were called 
# directly (in ScriptAlias directory, for instance)

# 302 - REDIRECT 
# 400 - BAD_REQUEST 
# 401 - AUTH_REQUIRED 
# 403 - FORBIDDEN 
# 404 - NOT_FOUND 
# 500 - SERVER_ERROR 
# 501 - NOT_IMPLEMENTED 

#ErrorDocument 302 /cgi-bin/redirect.cgi	°¢°¢ÀÇ ¿¡·¯¿¡ ´ëÇØ ¼­¹ö¿¡¼­
#ErrorDocument 500 /errors/server.html		Á¦°øÇÏ´Â ±âº» ¸Þ¼¼Áö°¡ ¾Æ´Ñ   
#ErrorDocument 403 /errors/forbidden.html	ÀÓÀÇÀÇ ¸Þ¼¼Áö¸¦ Ãâ·ÂÇÒ¶§ »ç¿ë

#########################################################################

hyundai2# ls -l
ÃÑ 52
-rw-r--r--   1 524      other       1549 1996³â  6¿ù 26ÀÏ access.conf
-rw-r--r--   1 524      other       9825 1996³â  6¿ù 26ÀÏ httpd.conf
-rw-r--r--   1 524      other       1497 1996³â  6¿ù 26ÀÏ localhost_srm.conf-dist
-rw-r--r--   1 524      other       3319 1996³â  6¿ù 26ÀÏ mime.types
-rw-r--r--   1 524      other       7175 1996³â  6¿ù 26ÀÏ srm.conf

hyundai2# cd ..
hyundai2# pwd
/usr/local/etc/httpd

hyundai2# mkdir htdocs
hyundai2# mkdir logs

hyundai2# cd logs
hyundai2# pwd
/usr/local/etc/httpd/logs

hyundai2# touch error_log access_log agent_log referer_log
hyundai2# ls -l
ÃÑ 0
-rw-r--r--   1 root     other          0  4¿ù  8ÀÏ  17:41 access_log
-rw-r--r--   1 root     other          0  4¿ù  8ÀÏ  17:41 agent_log
-rw-r--r--   1 root     other          0  4¿ù  8ÀÏ  17:41 error_log
-rw-r--r--   1 root     other          0  4¿ù  8ÀÏ  17:41 referer_log
hyundai2#
hyundai2# chmod 666 *

hyundai2# cd ..
hyundai2# httpd
NCSA HTTPd NCSA/1.5.2
Licensed material.  Portions of this work are
Copyright (C) 1995-1996 Board of Trustees of the University of Illinois
Copyright (C) 1995-1996 The Apache Group
Copyright (C) 1989-1993 RSA Data Security, Inc.
Copyright (C) 1993-1994 Carnegie Mellon University
Copyright (C) 1991      Bell Communications Research, Inc. (Bellcore)
Copyright (C) 1994      Spyglass, Inc.
hyundai2#
hyundai2#
hyundai2#
hyundai2# ps -ef|grep httpd
    root  5089  5087  0 17:48:02 ?        0:00 httpd
    root  5094  5027  0 17:48:10 pts/1    0:00 grep httpd
  nobody  5090  5087  0 17:48:02 ?        0:00 httpd
hyundai2#

  ¡Ø ÀÌ»óÀ¸·Î WEB Server´Â ±¸µ¿µÈ °ÍÀÌ´Ù.