examples.html.ja.euc-jp revision c7811a175dc15d2172cc95f1c9791bbb6caf9b04
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd This file is generated from xml source: DO NOT EDIT
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
2e545ce2450a9953665f701bb05350f0d3f26275nd<link href="/images/favicon.ico" rel="shortcut icon" /></head>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<p class="menu"><a href="/mod/">�⥸�塼��</a> | <a href="/mod/directives.html">�ǥ��쥯�ƥ���</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">�Ѹ�</a> | <a href="/sitemap.html">�����ȥޥå�</a></p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP ������</a> > <a href="http://httpd.apache.org/docs-project/">�ɥ�����ơ������</a> > <a href="../">�С������ 2.1</a> > <a href="./">�С������ۥ���</a></div><div id="page-content"><div id="preamble"><h1>�С������ۥ��Ȥ���</h1>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<p><span>Available Languages: </span><a href="/en/vhosts/examples.html" hreflang="en" rel="alternate" title="English"> en </a> |
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<a href="/ja/vhosts/examples.html" title="Japanese"> ja </a> |
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<a href="/ko/vhosts/examples.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd <p>����ʸ��ϡ��С������ۥ��Ȥ�����κݤ�
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashi �褯������������ΤǤ������ꤷ�Ƥ����оݤ� <a href="name-based.html">̾���١���</a> �� <a href="ip-based.html">IP �١���</a> �ΥС������ۥ��Ȥ�Ȥä�
c04f76acce77126cf88b09350e56ea8c6b4a064enilgun ��ĤΥ����Ф�ʣ���Υ����֥����Ȥ��Ѥ��Ƥ�������Ǥ���
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd ��ĤΥץ?�������Фθ���ʣ���Υ����Ф��Ѥ��륵���ȸ�����
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end �����϶���Ϥ��Ǥ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#purename">��Ĥ� IP ���ɥ쥹�Ǥ����Ĥ���̾���١�����
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem<li><img alt="" src="/images/down.gif" /> <a href="#twoips">ʣ���� IP ���ɥ쥹�Τ���ۥ��Ȥ�̾���١�����
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#intraextra">�㤦 IP ���ɥ쥹 (�㤨�С������ȳ������ɥ쥹)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#port">�㤦�ݡ��Ȥǰ㤦�����ȤĤ���</a></li>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#ip">IP �١����ΥС������ۥ��ƥ���</a></li>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#ipport">�ݡ��ȥ١����� IP �١����κ����ä�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#mixed">̾���١����� IP �١�������
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#default"><code>_default_</code> �ΥС������ۥ��Ȥ�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#migrate">̾���١����ΥС������ۥ��Ȥ��� IP �١�����
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<li><img alt="" src="/images/down.gif" /> <a href="#serverpath"><code>ServerPath</code> �ǥ��쥯�ƥ��֤�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<h2><a name="purename" id="purename">��Ĥ� IP ���ɥ쥹�Ǥ����Ĥ���̾���١�����
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>�����Ф� IP ���ɥ쥹���ij�����Ƥ��Ƥ��ơ�DNS �ǥޥ����
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd ʣ����̾�� (CNAME) �����ꤵ��Ƥ��ޤ������Υޥ����
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <code>www.example.com</code> �� <code>www.example.org</code>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �Τ���Υ����֥����Ф�¹Ԥ��������Ȥ��ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd Apache �����Ф�����ǥС������ۥ��Ȥ�����������ǡ�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �Τ�ʤ��֤ˤ��Υۥ���̾���б����� DNS �Υ���ȥ꤬
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �������줿��Ϥ��ޤ����Υ����Ф� IP ���ɥ쥹�˲�褵���
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �����Ǥʤ���ï�⤢�ʤ��Υ����֥����Ȥ뤳�ȤϤǤ��ޤ���
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd ����ȥ���ɲä��뤳�Ȥ�Ǥ��ޤ��������ξ��Ϥ���
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd hosts ����ȥ�Τ���ޥ��餷��ư��ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd # Ensure that Apache listens on port 80<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd Listen 80<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd # Listen for virtual host requests on all IP addresses<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NameVirtualHost *:80<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost *:80><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd # Other directives here<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd </VirtualHost><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost *:80><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd # Other directives here<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd </VirtualHost>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>�������ꥹ���Ϥ��٤ƤΥ��ɥ쥹�˥ޥå����ޤ��Τǡ��祵���Ф�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <cite>primary</cite> �Υ����Фȹͤ��뤳�Ȥ��Ǥ��ޤ����Ĥޤꡢ�ꥯ�����Ȥ�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <code>NameVirtualHost</code> �ΰ����Ʊ����<em>���ʤ���Фʤ�ޤ���
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NameVirtualHost 172.20.30.40<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 172.20.30.40><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>��������IP ���ɥ쥹��ͽ¬�Բ�ǽ�ʥ����ƥ�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �����㤨�Хץ�Х�������ưŪ�� IP ���ɥ쥹��������Ʋ��餫��
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �ޥå����ޤ��Τǡ���������ˤ��Ƥ����� IP ���ɥ쥹���ѹ�����Ƥ�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �����ѹ�������ư��ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>̾���١����ΥС������ۥ��ƥ��ǤϤۤܤ��٤Ƥξ����ǡ�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �嵭������Ǵ�˾������ˤʤäƤ��뤳�ȤǤ��礦��
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �ºݤ������꤬ư��ʤ��Τϡ�IP ���ɥ쥹��ݡ��Ȥΰ㤤�ˤ�ä�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �㤦����ƥ�Ĥ�����Ȥ������Ǥ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
71fccc298df6a1540d408151a26aa22beed55d0bnd<h2><a name="twoips" id="twoips">ʣ���� IP ���ɥ쥹�Τ���ۥ��Ȥ�̾���١�����
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd ���Ĥ��äƤ�Ʊ�ͤˤǤ��ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>�����Фˤ���� IP ���ɥ쥹���Ĥ��Ƥ��ޤ��������
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �С������ۥ��Ȥ��ޤ���</p>
71fccc298df6a1540d408151a26aa22beed55d0bnd Listen 80<br />
71fccc298df6a1540d408151a26aa22beed55d0bnd # This is the "main" server running on 172.20.30.40<br />
b3c7a2279fa7a45f5807d9a404760b9b3760df50nd # This is the other address<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NameVirtualHost 172.20.30.50<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 172.20.30.50><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd # Other directives here ...<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd </VirtualHost><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 172.20.30.50><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd # Other directives here ...<br />
65a611af7093423efb91e5794b8887a527d4cf63trawick </VirtualHost>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <code>Host:</code> �إå��ʤ��Υꥯ�����Ȥ� <code>www.example.com</code>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �������ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
08cf4a15275e4cb65a424b3a1db5410bfb51085cjim<h2><a name="intraextra" id="intraextra">�㤦 IP ���ɥ쥹 (�㤨�С������ȳ������ɥ쥹)
f5a398cc8880978754903f9ece8e4beb63a81cedrbowen <p>�����Хޥ���� IP ���ɥ쥹����� (<code>192.168.1.1</code>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd (����ȥ�ͥå�) �� ���� (�����ͥå�) �Υͥåȥ���δ֤�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �Ȥ��Ʋ�褵��ޤ���</p>
e8b603fa9ccf7b17b11b42df6d8916fd97c2331dnd �����Υꥯ�����Ȥ�ξ���Ʊ������ƥ�ĤDZ����褦�ˤǤ��ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NameVirtualHost 192.168.1.1<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NameVirtualHost 172.20.30.40<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 192.168.1.1 172.20.30.40><br />
5effc8b39fae5cd169d17f342bfc265705840014rbowen ServerAlias server<br />
d0828c8a321dc5e9ea60550f052294669c08cf93jim </VirtualHost>
4b5981e276e93df97c34e4da05ca5cf8bbd937dand <p>����Ǥɤ���Υͥåȥ������Υꥯ�����Ȥ�Ʊ�� <code>VirtualHost</code>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �ǰ�����褦�ˤʤ�ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <div class="note"><h3>��:</h3><p>�����ͥåȥ���Ǥϴ����ʥۥ���̾��
2704de98885368683621b01c8f8f4e4b01557611takashi <code>server.example.com</code> ������ˡ�ñ�� <code>server</code>
2704de98885368683621b01c8f8f4e4b01557611takashi ��Ȥ����Ȥ��Ǥ��ޤ���</p>
d0828c8a321dc5e9ea60550f052294669c08cf93jim <p>�����Ǥϡ�IP ���ɥ쥹�Υꥹ�Ȥ��٤ƤΥ��ɥ쥹��
d2b809e5d72658bff23819d8b77f20e4939af541nd </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
a4687128d43515b5791a6efc6ba55314478f9552jim<h2><a name="port" id="port">�㤦�ݡ��Ȥǰ㤦�����ȤĤ���</a></h2>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>Ʊ�� IP ��ʣ���Υɥᥤ���ꡢ�����ʣ���Υݡ��Ȥ�Ȥä�
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �ꥯ�����Ȥ������Ȥ�������ޤ���"NameVirtualHost" ���������
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd �ݡ��Ȥ�������뤳�Ȥǡ������ư������ޤ���
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NameVirtualHost name:port ̵���� Listen �ǥ��쥯�ƥ��֤�
5effc8b39fae5cd169d17f342bfc265705840014rbowen <VirtualHost name:port> ��Ȥ����Ȥ��Ƥ⡢���������ư��ޤ���</p>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd Listen 80<br />
438b4817913a5ff55d9cad4c7ddf133330b4466ejim Listen 8080<br />
50cb7e2b30597f481fee57bac945190f06ebcc58jorton NameVirtualHost 172.20.30.40:80<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd NameVirtualHost 172.20.30.40:8080<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 172.20.30.40:80><br />
5f4e50966b2b9b58436a1651cbe588d1b595657ewrowe </VirtualHost><br />
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashi <VirtualHost 172.20.30.40:8080><br />
f772e8f448c223e5ea306f1bf92d97d968f972d5jim </VirtualHost><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 172.20.30.40:80><br />
5effc8b39fae5cd169d17f342bfc265705840014rbowen </VirtualHost><br />
5effc8b39fae5cd169d17f342bfc265705840014rbowen <VirtualHost 172.20.30.40:8080><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd </VirtualHost>
50cb7e2b30597f481fee57bac945190f06ebcc58jorton </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd<h2><a name="ip" id="ip">IP �١����ΥС������ۥ��ƥ���</a></h2>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <p>������ <code>www.example.com</code> �� <code>www.example.org</code>
b43f840409794ed298e8634f6284741f193b6c4ftakashi �ˤ��줾���褵��롢��Ĥ� IP ���ɥ쥹 (<code>172.20.30.40</code> ��
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd Listen 80<br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 172.20.30.40><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd </VirtualHost><br />
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd <VirtualHost 172.20.30.50><br />
71fccc298df6a1540d408151a26aa22beed55d0bnd </VirtualHost>
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd �祵���Ф�����Ф����˹Ԥ��ޤ���</p>
c04f76acce77126cf88b09350e56ea8c6b4a064enilgun </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end<h2><a name="ipport" id="ipport">�ݡ��ȥ١����� IP �١����κ����ä�
727872d18412fc021f03969b8641810d8896820bhumbedooh <p>�����Хޥ���Ϥ��줾�� <code>www.example.com</code> ��
727872d18412fc021f03969b8641810d8896820bhumbedooh (<code>192.168.1.1</code> �� <code>172.20.30.40</code>) ��äƤ��ޤ���
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh �ɤ����ݡ��� 80 �� 8080 �ǥۥ��Ȥ����餻�ޤ���</p>
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh <div class="example"><h3>����������</h3><p><code>
0d0ba3a410038e179b695446bb149cce6264e0abnd Listen 172.20.30.40:80<br />
0d0ba3a410038e179b695446bb149cce6264e0abnd Listen 172.20.30.40:8080<br />
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh Listen 172.20.30.50:80<br />
0d0ba3a410038e179b695446bb149cce6264e0abnd Listen 172.20.30.50:8080<br />
0d0ba3a410038e179b695446bb149cce6264e0abnd <VirtualHost 172.20.30.40:80><br />
07dc96d063d49299da433f84b5c5681da9bbdf68rbowen </VirtualHost><br />
0d0ba3a410038e179b695446bb149cce6264e0abnd <VirtualHost 172.20.30.40:8080><br />
<p>�ɤ�ʥꥯ�����ȤǤ� <code class="directive"><a href="/mod/mod_alias.html#aliasmatch">AliasMatch</a></code>
<p><code class="directive"><a href="/mod/core.html#serverpath">ServerPath</a></code> �ǥ��쥯�ƥ��֤������
<code class="directive"><a href="/mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> �ǥ��쥯�ƥ��֤�
<p><span>Available Languages: </span><a href="/en/vhosts/examples.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="/ko/vhosts/examples.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
<p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="/mod/">�⥸�塼��</a> | <a href="/mod/directives.html">�ǥ��쥯�ƥ���</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">�Ѹ�</a> | <a href="/sitemap.html">�����ȥޥå�</a></p></div>