File kolab-webadmin.conf of Package kolab-webadmin
# Kolab Groupware Server Web Administration Panel
#
# By default, this configuration file allows access to:
#
# http://your.server.name/kolab-webadmin
#
# You should configure your webserver to allow the client over SSL only.
#
# See the Kolab Groupware Installation Manual for more information.
#
<IfModule mod_alias.c>
Alias /kolab-webadmin __WEBADMINPATH__/public_html
</IfModule>
AddDefaultCharset UTF-8
<Directory "__WEBADMINPATH__/public_html">
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order Allow,Deny
#Allow from 127.0.0.1
Allow from All
</IfModule>
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
# NOTE: This needs to point to the base uri of your installation.
RewriteBase /kolab-webadmin/
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^api/(.*)\.(.*)$ api/index.php?service=$1&method=$2 [L,QSA]
</IfModule>
<IfModule mod_php7.c>
php_value error_reporting 6135
</IfModule>
<IfModule mod_php8.c>
php_value error_reporting 6135
</IfModule>
DirectoryIndex index.php
</Directory>
<Directory "__WEBADMINPATH__/public_html/api">
<IfModule mod_php7.c>
php_flag session.auto_start Off
php_flag session.use_cookies Off
</IfModule>
<IfModule mod_php8.c>
php_flag session.auto_start Off
php_flag session.use_cookies Off
</IfModule>
</Directory>