2 commits - doc/kolab-webadmin.conf
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Fri Apr 13 10:01:58 CEST 2012
doc/kolab-webadmin.conf | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
New commits:
commit 77c298cca17f49f89c9b1a92f5f65f4c81aa62b9
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Thu Apr 12 13:47:07 2012 +0100
Update kolab-webadmin.conf for httpd
diff --git a/doc/kolab-webadmin.conf b/doc/kolab-webadmin.conf
index 55bbaa1..26f24cd 100644
--- a/doc/kolab-webadmin.conf
+++ b/doc/kolab-webadmin.conf
@@ -12,6 +12,22 @@
Alias /kolab-webadmin /usr/share/kolab-webadmin/public_html/
<Directory "/usr/share/kolab-webadmin/public_html/">
+ <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>
+
+ AddDefaultCharset UTF-8
+ php_value error_reporting 6135
+
DirectoryIndex index.php
AllowOverride All
Order Allow,Deny
commit bebbaa0846128ae66489a13f9b0aed7c31529d0d
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Thu Apr 12 11:18:21 2012 +0100
Add a sample httpd configuration file
diff --git a/doc/kolab-webadmin.conf b/doc/kolab-webadmin.conf
new file mode 100644
index 0000000..55bbaa1
--- /dev/null
+++ b/doc/kolab-webadmin.conf
@@ -0,0 +1,21 @@
+# 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 /kolab-webadmin /usr/share/kolab-webadmin/public_html/
+
+<Directory "/usr/share/kolab-webadmin/public_html/">
+ DirectoryIndex index.php
+ AllowOverride All
+ Order Allow,Deny
+ Allow from All
+</Directory>
+
+
More information about the commits
mailing list