summaryrefslogtreecommitdiff
path: root/bin/ldap2apache
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ldap2apache')
-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