Package: fusiondirectory / 1.2.3-3~bpo9+1

2001_fusiondirectory-apache.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Fix Alias for Debian package. Removed old php configuration keywords no longer used. Changed Location to Directory
Author: Benoit Mortier <benoit.mortier@opensides.be>
Origin: upstream
Bug-Upstream: https://gitlab.fusiondirectory.org/fusiondirectory/fd/issues/5837
Last-Update: 2018-05-11

--- a/core/contrib/apache/fusiondirectory-apache.conf
+++ b/core/contrib/apache/fusiondirectory-apache.conf
@@ -1,18 +1,13 @@
 # Include FusionDirectory to your web service
-Alias /fusiondirectory /var/www/fusiondirectory/html
+Alias /fusiondirectory /usr/share/fusiondirectory/html
 
 <IfModule mod_php5.c>
-<Location /fusiondirectory>
+<Directory /fusiondirectory>
     php_admin_flag engine on
-    php_admin_flag register_globals off
-    php_admin_flag allow_call_time_pass_reference off
     php_admin_flag expose_php off
-    php_admin_flag zend.ze1_compatibility_mode off
-    php_admin_flag register_long_arrays off
     php_admin_value upload_tmp_dir /var/spool/fusiondirectory/
     php_admin_value session.cookie_lifetime 0
 # Remove the comment from the line below if you use fusiondirectory-setup --encrypt-passwords
 #   include /etc/fusiondirectory/fusiondirectory.secrets
-</Location>
+</Directory>
 </IfModule>
-