summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-18 10:53:12 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-07-25 07:57:05 (GMT)
commit114da9f312e2f330a3170abad564f89528bcc236 (patch)
tree8be5431691df28dbe1431117c01ffa356e6f1ca1 /doc
parent19baddb981b3bd87c4fc870100a6c997e19b70e3 (diff)
downloadkolab-wap-114da9f312e2f330a3170abad564f89528bcc236.tar.gz
Add a sample configuration file for hosted-kolab
Diffstat (limited to 'doc')
-rw-r--r--doc/hosted-kolab.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/hosted-kolab.conf b/doc/hosted-kolab.conf
new file mode 100644
index 0000000..2b3da86
--- /dev/null
+++ b/doc/hosted-kolab.conf
@@ -0,0 +1,37 @@
+# Kolab Groupware Server Web Administration Panel
+#
+# By default, this configuration file allows access to:
+#
+# http://yourserver/kolab-webadmin
+#
+# You should configure your webserver to allow the client over SSL only.
+#
+# See the Kolab Groupware Installation Manual for more information.
+#
+
+Alias /hosted-kolab /usr/share/kolab-webadmin/hosted/
+
+<Directory "/usr/share/kolab-webadmin/hosted/">
+ <IfModule mod_rewrite.c>
+ RewriteEngine on
+ # NOTE: This needs to point to the base uri of your installation.
+ RewriteBase /hosted-kolab/
+
+ # 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>
+
+ AddDefaultCharset UTF-8
+ php_value error_reporting 6135
+
+ DirectoryIndex index.php
+ AllowOverride All
+ Order Allow,Deny
+ Allow from All
+</Directory>
+
+