Add classic CGI support

There's only one cgi.load as it depdends on MPM which module to use. The
conf file has options for mod_cgid only which are in an IfModule
container.

- mod_cgi
- mod_cgid
This commit is contained in:
Sven Velt 2016-11-10 19:41:28 +01:00
parent 5ee6561cee
commit 549e9712ca
2 changed files with 15 additions and 0 deletions

5
mods-available/cgi.conf Normal file
View file

@ -0,0 +1,5 @@
<IfModule cgid_module>
ScriptSock ${APACHE_RUN_DIR}/cgisock
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

10
mods-available/cgi.load Normal file
View file

@ -0,0 +1,10 @@
# Depdends: .conf
<IfModule mpm_prefork_module>
LoadModule cgi_module modules/mod_cgi.so
</IfModule>
<IfModule !mpm_prefork_module>
LoadModule cgid_module modules/mod_cgid.so
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet