Pārlūkot izejas kodu

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
Sven Velt 8 gadi atpakaļ
vecāks
revīzija
549e9712ca
2 mainītis faili ar 15 papildinājumiem un 0 dzēšanām
  1. 5 0
      mods-available/cgi.conf
  2. 10 0
      mods-available/cgi.load

+ 5 - 0
mods-available/cgi.conf

@@ -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 - 0
mods-available/cgi.load

@@ -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