blob: cf2170556ec7bb8e093af139c4de65b8fe63cd35 (
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
|
<!--
$FML: apache.sgml,v 1.1 2005/07/23 01:57:36 fukachan Exp $
-->
<chapter id="setup.apache">
<title>
Apache Configuration
</title>
<warning>
<para>
See
<link linkend="cgi.internal.method">
<xref linkend="cgi.internal.method">
</link>
for the &fml8; CGI internals.
</para>
</warning>
<sect1 id="setup.apache.suexec">
<title>
Use Suexec Of Apache
</title>
<para>
Build apache enabled with suexec.
Run configure by
<screen>
(apache 1.x)
configure --enable-suexec --suexec-caller=www
</screen>
In this case, the user "www" can call suexec.
Please prepare a user specific for suexec-ed environment.
</para>
<para>
After apache installation, change httpd.conf to allow ~user/cgi-bin/ form.
<screen>
Example:
<Directory /home/*/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from SPECIFIC_HOST
</Limit>
</Directory>
<IfModule mod_mime.c>
... snip ...
AddHandler cgi-script .cgi
... snip ...
</IfModule>
</screen>
</para>
</sect1>
</chapter>
|