# Configuration for kivitendo
# Kivitendo-Installattion mit FCGI
-AddHandler fcgid-script .fpl
-AliasMatch ^/kivitendo/[^/]+\.pl /opt/kivitendo-erp-3.4.1/dispatcher.fpl
-Alias /kivitendo/ /opt/kivitendo-erp-3.4.1/
-FcgidMaxRequestLen 10485760
+AliasMatch ^/kivitendo/[^/]+\.pl /opt/kivitendo-erp-3.5.4/dispatcher.fcgi
+Alias /kivitendo/ /opt/kivitendo-erp-3.5.4/
-<Directory /opt/kivitendo-erp-3.4.1>
+<Directory /opt/kivitendo-erp-3.5.4>
AllowOverride All
Options ExecCGI Includes FollowSymlinks
- Order Allow,Deny
- Allow from All
+ Require all granted
</Directory>
-<DirectoryMatch /opt/kivitendo-erp-3.4.1/users>
- Order Deny,Allow
- Deny from All
+<DirectoryMatch /opt/kivitendo-erp-3.5.4/users>
+ Require all denied
</DirectoryMatch>
+
chown www-data /opt/kivitendo-erp-$version/users /opt/kivitendo-erp-$version/templates
chgrp www-data /opt/kivitendo-erp-$version/users /opt/kivitendo-erp-$version/templates
+systemctl restart apache2
+
# call installation check
/opt/kivitendo-erp-$version/scripts/installation_check.pl