Chapter 11. Apache Configuration

Warning

See the Section called Method in Chapter 38 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>

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.