summaryrefslogtreecommitdiff
path: root/network/mod_fcgid/mod_fcgid.conf
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2013-10-29 21:40:57 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-10-29 20:12:30 -0500
commit4c6a6ad71cccc2976b98748c0f6fa59a0bb2e7bd (patch)
tree2e3e1c0da6250551e657987656d191c8ebb29635 /network/mod_fcgid/mod_fcgid.conf
parent75ccbfff1e53f83101f731c5213d4763ff5f3bea (diff)
downloadslackbuilds-4c6a6ad71cccc2976b98748c0f6fa59a0bb2e7bd.tar.gz
network/mod_fcgid: Added (FastCGI interface module for Apache 2).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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>