summaryrefslogtreecommitdiff
path: root/fml/doc/ja/tutorial/setup/apache.sgml
blob: 7578b831f523dba9caa1f5c9ba3bf06773d6e753 (plain)
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
<!-- -*- mode:text coding:euc-jp -*-
   $FML: apache.sgml,v 1.4 2005/06/25 15:11:36 fukachan Exp $
-->


<chapter id="setup.apache">
	<title>
	apache ������
	</title>


<warning>

<para>
fml8 CGI ��������¤�ˤĤ��Ƥ�
<link linkend="cgi.internal.method">
<xref linkend="cgi.internal.method">
</link>
�򻲾Ȥ��Ʋ�������
</para>

</warning>


<!-- TODO: suexec on apache 2.2 -->
<sect1 id="setup.apache.suexec">
	<title>
	apache �� suexec ��Ȥ�
	</title>

<para>
suexec ��ǽ�����Ѳ�ǽ�� apache ����ɬ�פ�����ޤ��� 
configure ��¹Ԥ���ݤˡ�
<screen>
(apache 1.x ��)
# ./configure --enable-suexec --suexec-caller=www (...����¾�Υ��ץ����...)
</screen>
�ʤɤȤ��ޤ���
</para>

<important>
<para>
������Ǥ� suexec ��ƤӽФ����Ȥ���ǽ�ʥ桼���� www �Ǥ���
CGI �桼���ˤϡ�CGI �������ѤΥ桼�����Ѱդ��Ʋ�������
</para>

<para>
suexec ��ƤӽФ����Ȥ���ǽ�ʥ桼���� www �Ǥ���
CGI �桼���ˤϡ�CGI �������ѤΥ桼�����Ѱդ��Ʋ�������
</para>
</important>

<para>
���󥹥ȡ���塢~�桼��/cgi-bin/ ������褦�� httpd.conf ��
�ѹ�����ɬ�פ�����ޤ���
<screen>
������:

&lt;Directory /home/*/*/public_html&gt;
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
    &lt;Limit GET POST OPTIONS PROPFIND&gt;
        Order allow,deny
        Allow from ����Υۥ���
    &lt;/Limit&gt;
&lt;/Directory&gt;

&lt;IfModule mod_mime.c&gt;
	... ά ...

   AddHandler cgi-script .cgi

	... ά ...
&lt;/IfModule&gt;
</screen>
</para>

</sect1>


</chapter>