[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .

Apache Configuration

Warning

See the Section called Method in the Chapter called Internal Of CGI Process for the fml8 CGI internals.

Use Suexec Of Apache

Build apache enabled with suexec. Run configure by

(apache 1.x)
configure --enable-suexec --suexec-caller=www
In this case, the user "www" can call suexec. Please prepare a user specific for suexec-ed environment.

After apache installation, change httpd.conf to allow ~user/cgi-bin/ form.

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>

[HOME] [github] [twitter] [blog] [fml4] [fml8] [北海道] Powered by NetBSD and [nuinui.net] .
Copyright (C) 1993-2022 Ken'ichi Fukamachi mail:< fukachan at fml.org >