summaryrefslogtreecommitdiff
path: root/fml/doc/en/tutorial/setup/apache.sgml
diff options
context:
space:
mode:
authorfukachan <fukachan>2005-07-23 01:57:36 +0000
committerfukachan <fukachan>2005-07-23 01:57:36 +0000
commit18d7f372358ed3af0161ee56281357ec9b740dcb (patch)
tree55d26994e4236b7036a29c697398ebdb51b65879 /fml/doc/en/tutorial/setup/apache.sgml
parent4829badef574589c3e6fd9588a6ffc482322fa1a (diff)
downloadfml8-18d7f372358ed3af0161ee56281357ec9b740dcb.tar.gz
fml8-18d7f372358ed3af0161ee56281357ec9b740dcb.tar.bz2
fml8-18d7f372358ed3af0161ee56281357ec9b740dcb.zip
translated.
Diffstat (limited to 'fml/doc/en/tutorial/setup/apache.sgml')
-rw-r--r--fml/doc/en/tutorial/setup/apache.sgml68
1 files changed, 68 insertions, 0 deletions
diff --git a/fml/doc/en/tutorial/setup/apache.sgml b/fml/doc/en/tutorial/setup/apache.sgml
new file mode 100644
index 00000000..728a29d4
--- /dev/null
+++ b/fml/doc/en/tutorial/setup/apache.sgml
@@ -0,0 +1,68 @@
+<!--
+ $FML: apache.sgml,v 1.4 2005/06/25 15:11: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>
+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:
+
+&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 SPECIFIC_HOST
+ &lt;/Limit&gt;
+&lt;/Directory&gt;
+
+&lt;IfModule mod_mime.c&gt;
+ ... snip ...
+
+ AddHandler cgi-script .cgi
+
+ ... snip ...
+&lt;/IfModule&gt;
+</screen>
+</para>
+
+</sect1>
+
+
+</chapter>