blob: 499a69b01a86b9c7587a95e1689346112be33623 (
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
82
83
84
85
86
87
88
89
90
91
|
<!-- -*- 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>
������(Apache 2.2�ޤ�):
<Directory /home/*/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from ����Υۥ���
</Limit>
</Directory>
<IfModule mod_mime.c>
... ά ...
AddHandler cgi-script .cgi
... ά ...
</IfModule>
</screen>
Apache 2.4 �ʹߤϡ�
<screen>
Order allow,deny
Allow from ����Υۥ���
</screen>
�ΤȤ�������
<screen>
Require ...
</screen>
�Ȥ�����ʸ���Ѥ��ޤ���
</para>
</sect1>
</chapter>
|