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:
parent
5ee6561cee
commit
549e9712ca
5
mods-available/cgi.conf
Normal file
5
mods-available/cgi.conf
Normal 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
10
mods-available/cgi.load
Normal 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
|
Loading…
Reference in a new issue