Apache Configuration
See
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>