/usr/share/doc/HOWTO/ja-html/Intranet-Server-HOWTO-2.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Linux Intranet Server HOWTO: HTTP¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë</TITLE>
<LINK HREF="Intranet-Server-HOWTO-3.html" REL=next>
<LINK HREF="Intranet-Server-HOWTO-1.html" REL=previous>
<LINK HREF="Intranet-Server-HOWTO.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="Intranet-Server-HOWTO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Intranet-Server-HOWTO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Intranet-Server-HOWTO.html#toc2">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s2">2. HTTP¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë</A></H2>
<P>¥µ¡¼¥Ð¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ëºÝ¡¢¼«Ê¬¤Ç¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤¿¤á¤Î¥½¡¼¥¹¤«¥×¥ì¥³¥ó¥Ñ¥¤¥ë
¤µ¤ì¤Æ¤¤¤ë¥Ð¥¤¥Ê¥ê¤Î¤É¤Á¤é¤«¤òÆþ¼ê¤·¤Þ¤¹¡£¥×¥ì¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ë Linux (ELF)
¥Ð¡¼¥¸¥ç¥ó¤Î¥Ð¥¤¥Ê¥ê¤ÏNCSA ¥µ¥¤¥È¤ÇÆþ¼ê¤Ç¤¤Þ¤¹¤¬¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î¤â¤Î¤Ï
¤¢¤ê¤Þ¤»¤ó¡£
<P>
<P>
<H2><A NAME="ss2.1">2.1 ¥À¥¦¥ó¥í¡¼¥ÉÁ°¤Î½àÈ÷</A>
</H2>
<P>NCSA¤Î¥µ¡¼¥Ð¤ÏÀßÄꥪ¥×¥·¥ç¥ó¤Î¥¹¥Æ¥Ã¥×¤òÄ̤·¤Æ¤¤¤í¤¤¤í¤Ê¥Õ¥¡¥¤¥ë¤ò½àÈ÷¤·¤Þ¤¹¡£
HTTPd¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ëÁ°¤Ë°Ê²¼¤Î¼ÁÌä¤ËÅú¤¨¤ì¤ë¤è¤¦½àÈ÷¤·¤Æ¤ª¤¤Þ¤¹¡£
<P>
<P>
<H3>¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à</H3>
<P>¤Ï¤¸¤á¤Ë¥½¡¼¥¹¤«¥×¥ì¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê¤Î¤É¤Á¤é¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤«
ÁªÂò¤·¤Þ¤¹¡£¤â¤·¥á¥Ë¥å¡¼¤Ë¤Ê¤¤¥·¥¹¥Æ¥à¤Ê¤é¡¢¥Ç¥Õ¥©¥ë¥È¥½¡¼¥¹¤òÆþ¼ê¤·¤Æ
³Æ¼«¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤Æ²¼¤µ¤¤¡£
<P>Linux¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç°Ê²¼¤Î¤è¤¦¤Ë¼Â¹Ô¤·¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
linux:~$ uname -a
</PRE>
</CODE></BLOCKQUOTE>
¼Â¹Ô¤¹¤ë¤È°Ê²¼¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
linux:~$ uname -a
Linux linux 2.0.29 #4 Tue Sep 13 04:05:51 CDT 1994 i586
linux:~$
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¤³¤Î¾ì¹çLinux¥Ð¡¼¥¸¥ç¥ó¤Ï2.0.29¤Ç¤¹¡£
<P>»Ä¤ê¤Î¥Ñ¥é¥á¡¼¥¿¤Ï¥À¥¦¥ó¥í¡¼¥É¤¹¤ëÁ°¤ËÆÃÄꤷ¤Æ¤ª¤¯¤«¡¢¸å¤Ç
<CODE>/usr/local/etc/httpd/conf</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤Î<CODE>srm.conf</CODE>¥Õ¥¡¥¤¥ë
¤òÊѹ¹¤¹¤ë¤«¤·¤Þ¤¹¡£<CODE>httpd.conf</CODE>¥Õ¥¡¥¤¥ë¤Î¼ÂºÝ¤Î¼Â¹Ô̾¤Ï
³ç¸Ì¤ÎÃæ¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£Í£°ì¤ÎÎã³°¤Ï<CODE>srm.conf</CODE>¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤Æ
¤¤¤ëDocumentRoot¤Î¹à¤Ç¤¹¡£
<P>
<P>
<H3>¥×¥í¥»¥¹¥¿¥¤¥× (ServerType)</H3>
<P>¤³¤ì¤Ï¤É¤Î¤è¤¦¤Ë¥Þ¥·¥ó¤¬HTTPd¥µ¡¼¥Ð¤òÁö¤é¤»¤ë¤«»ØÄꤹ¤ë¤â¤Î¤Ç¤¹¡£
¤è¤¯¤¢¤ëÊýË¡¤ÏServerType¤ò"standalone"¤Ë¤¹¤ë¤³¤È¤Ç¤¹¡£
¤³¤ì¤ÏÄê´üŪ¤ËHTTP¥Ç¡¼¥â¥ó¤òÁö¤é¤»¤Þ¤¹¡£"inetd"¤È¤·¤¿¾ì¹ç¤Ï
¥µ¡¼¥Ð¤Ï¥ê¥¯¥¨¥¹¥È¤Ë±þ¤¸¤Æ¥µ¡¼¥Ð¥Ð¥¤¥Ê¥ê¤ò¥á¥â¥ê¤ËÆɤ߹þ¤ß¤Þ¤¹(¥µ¡¼¥Ð¤Î
®ÅÙ¤ÏÄã²¼¤·¤Þ¤¹)¡£
<P>
<P>
<H3>¥Ð¥¤¥ó¥Ç¥£¥ó¥°¥Ý¡¼¥È(Port)</H3>
<P>¤³¤ì¤ÏHTTPd¥Ç¡¼¥â¥ó¤Î¤¢¤ë¥Þ¥·¥ó¤Î¤É¤Î¥Ý¡¼¥È¤¬
HTTP¥ê¥¯¥¨¥¹¥È¤Ë¥Ð¥¤¥ó¥É¤µ¤ì¤Æ¤¤¤ë¤«»ØÄꤷ¤Þ¤¹¡£"root"¤Ç¥í¥°¥¤¥ó
¤Ç¤¤ë¤Ê¤é¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤Î80¤ò»È¤¤¤Þ¤¹¡£Â¾¤Ï1025¤«¤é65535¤Î´Ö¤«¤éÁª¤ó¤Ç
²¼¤µ¤¤¡£
<P>
<P>
<H3>¥µ¡¼¥Ð user identity (User)</H3>
<P>¤³¤ì¤Ï¥µ¡¼¥Ð¤¬¥ê¥¯¥¨¥¹¥È¤ËÅú¤¨¤¿¤ê¥Õ¥¡¥¤¥ë¤ÇÆ°ºî¤¹¤ë»þ¤ËÊѹ¹¤¹¤ë¥æ¡¼¥¶¡¼ID
¤Ç¤¹¡£"standalone"¤È¤·¤Æ¥µ¡¼¥Ð¤òÁö¤é¤»¤Æ¤¤¤ë¤Ê¤é¤³¤Î¼ÁÌä¤ËÅú¤¨¤ë
ɬÍפ¬¤¢¤ê¤Þ¤¹¡£root¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÍ¿¤¨¤é¤ì¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶¡¼¤Î¾ì¹ç¤Ï¡¢¤¢¤Ê¤¿¤Î
¥í¥°¥¤¥ó̾¤ò»È¤¤¤Þ¤¹¡£¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ê¤é¥¹¥Ú¥·¥ã¥ë¥æ¡¼¥¶¡¼¤òºî¤Ã¤Æ¥Õ¥¡¥¤¥ë
¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÁàºî¤Ç¤¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
<P>
<P>
<H3>¥µ¡¼¥Ð group identity (Group)</H3>
<P>¤³¤ì¤Ï¥µ¡¼¥Ð¤¬¥ê¥¯¥¨¥¹¥È¤ËÅú¤¨¤¿¤ê¥Õ¥¡¥¤¥ë¤ÇÆ°ºî¤¹¤ë»þ¤ËÊѹ¹¤¹¤ë¥°¥ë¡¼¥×ID
¤Ç¤¹¡£¥µ¡¼¥Ð user identity¤È»÷¤Æ¤¤¤Þ¤¹¡£"standalone"¤È¤·¤Æ¥µ¡¼¥Ð
¤òÁö¤é¤»¤Æ¤¤¤ë»þ»È¤¨¤Þ¤¹¡£
<P>root¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤¬¤Ê¤¤¤Ê¤é¥×¥é¥¤¥Þ¥ê¥°¥ë¡¼¥×¤Î̾Á°¤ò»È¤Ã¤Æ²¼¤µ¤¤¡£
Linux¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤Ç<B>groups</B>¤ÈÆþÎϤ¹¤ë¤È¤¢¤Ê¤¿¤Î¥°¥ë¡¼¥×
¤¬³Îǧ¤Ç¤¤Þ¤¹¡£
<P>
<P>
<P>
<H3>¥µ¡¼¥Ð´ÉÍý¼Ô¥á¡¼¥ë¥¢¥É¥ì¥¹(ServerAdmin)</H3>
<P>¤³¤ì¤Ï¥µ¡¼¥Ð¤ËÌäÂ꤬¤¢¤Ã¤¿¤È¤¥á¡¼¥ë¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ë¤¿¤á¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ç¤¹¡£
¸Ä¿Í¥á¡¼¥ë¥¢¥É¥ì¥¹¤òÀßÄê¤Ç¤¤Þ¤¹¡£
<P>
<P>
<H3>¥µ¡¼¥Ð¥Ç¥£¥ì¥¯¥È¥ê¤Î¾ì½ê (ServerRoot)</H3>
<P>¤³¤ì¤Ï¥·¥¹¥Æ¥à¾å¤Î¤É¤³¤Ë¥µ¡¼¥Ð¤¬¤¢¤ë¤«»ØÄꤹ¤ë¤â¤Î¤Ç¤¹¡£root¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó
¤ò»ý¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢¥µ¡¼¥Ð¥Ç¥£¥ì¥¯¥È¥ê¤ò<CODE>/usr/local/etc/httpd</CODE>¤Ë
Êѹ¹¤·¤Æ¤ª¤¤Þ¤¹¡£root¤È¤·¤Æ¥í¥°¥¤¥ó¤Ç¤¤Ê¤¤¤Ê¤é¥Û¡¼¥à¥Ñ¥¹¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê
¤òÁª¤ó¤Ç¤ª¤¤Þ¤¹¡£<B>pwd</B>¥³¥Þ¥ó¥É¤Ç¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Ñ¥¹¤ò³Îǧ
¤Ç¤¤Þ¤¹¡£
<P>
<H3>HTML¥Õ¥¡¥¤¥ë¤Î¾ì½ê(DocumentRoot) </H3>
<P>¤³¤ì¤Ï¤É¤³¤ËHTML¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¤«»ØÄꤷ¤Þ¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Î¾ì½ê¤Ï
<CODE>/usr/local/etc/httpd/htdocs</CODE>¤Ç¤¹¡£¤·¤«¤·root¤È¤·¤Æ¥í¥°¥¤¥ó¤Ç¤¤Ê¤¤
¾ì¹ç¤Ï¡Ö¥µ¡¼¥Ðuser identity¡×¤ÇÁªÂò¤·¤¿Æüì¥æ¡¼¥¶¡¼¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Ë
¤·¤¿¤ê¡¢¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
<P>¤â¤·É԰¤ʤé¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤ò»È¤Ã¤Æ²¼¤µ¤¤¡£
NCSA HTTPd¤Ï
<P>
<A HREF="http://hoohoo.ncsa.uiuc.edu/docs/setup/OneStep.html">http://hoohoo.ncsa.uiuc.edu/docs/setup/OneStep.html</A><P>¤Ç¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Þ¤¹¡£¤Þ¤¿¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Þ¤¨¤Ë¡¢
<P>
<A HREF="http://hoohoo.ncsa.uiuc.edu/docs/">http://hoohoo.ncsa.uiuc.edu/docs/</A><P>¤ÎHTTPd¥É¥¥å¥á¥ó¥È¤òÆɤó¤Ç¤ª¤¤Þ¤·¤ç¤¦¡£¤â¤·¥½¡¼¥¹¤«¤é¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È
»×¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢makefile¤Ë½ñ¤«¤ì¤Æ¤¤¤ë<CODE>support, src, cgi-src</CODE>¤Î
£³¤Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò½¤Àµ¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£LinuxÈǤ¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤
¤ë¤Ê¤é¥È¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê(Î㤨¤Ð<CODE>/usr/local/etc/httpd</CODE>)¤Ç
<B>make linux</B>¤È¼Â¹Ô¤¹¤ë¤À¤±¤Ç¤¹¡£
<P>
<P>
<P>
<H2><A NAME="ss2.2">2.2 HTTPd¤Î¥³¥ó¥Ñ¥¤¥ë</A>
</H2>
<P>¥³¥ó¥Ñ¥¤¥ë¤Ï´Êñ¤Ç¤¹¡£¥µ¡¼¥Ð¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ç<CODE>make linux</CODE>¤È
¼Â¹Ô¤·¤Þ¤¹¡£
<P><B>¥á¥â¡§</B>
pre-ELF Linux¤Î¥æ¡¼¥¶¡¼¤ÏHTTPd¤ò¥³¥ó¥Ñ¥¤¥ë¤¹¤ëÁ°¤Ë
<CODE>portability.h</CODE>¥Õ¥¡¥¤¥ë¤Î<CODE>#define NO_PASS</CODE>¤È
<CODE>Makefile</CODE>¥Õ¥¡¥¤¥ë¤Î<CODE>DBM_LIBS= -ldbm</CODE>¤Î¥³¥á¥ó¥È¤ò³°¤·¤Æ
¤ª¤¤Þ¤¹¡£
<P>
<P>
<HR>
<A HREF="Intranet-Server-HOWTO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Intranet-Server-HOWTO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Intranet-Server-HOWTO.html#toc2">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|