diff options
| author | fukachan <fukachan> | 2005-07-23 01:57:36 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2005-07-23 01:57:36 +0000 |
| commit | 18d7f372358ed3af0161ee56281357ec9b740dcb (patch) | |
| tree | 55d26994e4236b7036a29c697398ebdb51b65879 /fml/doc/en/tutorial/setup/apache.sgml | |
| parent | 4829badef574589c3e6fd9588a6ffc482322fa1a (diff) | |
| download | fml8-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.sgml | 68 |
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: + +<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> |
