summaryrefslogtreecommitdiffstats
path: root/network/mod_fcgid/mod_fcgid.conf
diff options
context:
space:
mode:
Diffstat (limited to 'network/mod_fcgid/mod_fcgid.conf')
-rw-r--r--network/mod_fcgid/mod_fcgid.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/network/mod_fcgid/mod_fcgid.conf b/network/mod_fcgid/mod_fcgid.conf
new file mode 100644
index 0000000000..0623760753
--- /dev/null
+++ b/network/mod_fcgid/mod_fcgid.conf
@@ -0,0 +1,15 @@
+#
+# mod_fcgid - FastCGI interface module for Apache 2
+#
+
+# Load the PHP module:
+LoadModule fcgid_module @baselibdir@/httpd/modules/mod_fcgid.so
+
+# Tell Apache to feed all *.php files through PHP.
+<IfModule fcgid_module>
+ <Location />
+ AddHandler fcgid-script .php
+ Options +ExecCGI
+ FcgidWrapper /usr/bin/php-cgi .php
+ </Location>
+</IfModule>