summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2013-10-09 06:54:04 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2013-10-09 06:54:04 +0000
commitc237b62a5fc6cf424efd8c0d2c729607290934a5 (patch)
tree6eae62cb05ddaaf04e8b17c5098cb8d02c9b6b07
parent968a94ab0c12049139ebe51ec35fe6dfa34da905 (diff)
New wheezy fcgi setup
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@649 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xbin/ldap2apache8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/ldap2apache b/bin/ldap2apache
index 59ec46b..7170ed6 100755
--- a/bin/ldap2apache
+++ b/bin/ldap2apache
@@ -311,10 +311,12 @@ clients.each{ |c|
phppath = "#{@phpwrapperfilesdir}/#{wraplp1}/#{wraplp2}"
config << " <Directory #{home}/htdocs>"
- config << " AddHandler fcgid-script .php"
- config << " FCGIWrapper #{phppath} .php"
+ #config << " AddHandler fcgid-script .php"
+ #config << " FCGIWrapper #{phppath} .php"
config << " <Files *.php>"
- config << " Options ExecCGI"
+ #config << " Options ExecCGI"
+ config << " SetHandler fcgid-script"
+ config << " FCGIWrapper #{phppath}"
config << " </Files>"
config << " </Directory>"
end