summaryrefslogtreecommitdiffstats
path: root/zarafa-webaccess.conf
diff options
context:
space:
mode:
Diffstat (limited to 'zarafa-webaccess.conf')
-rw-r--r--zarafa-webaccess.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/zarafa-webaccess.conf b/zarafa-webaccess.conf
new file mode 100644
index 0000000..7e6a7f6
--- /dev/null
+++ b/zarafa-webaccess.conf
@@ -0,0 +1,32 @@
+#
+# Zarafa Webaccess featuring a 'Look & Feel' similar to Outlook
+#
+
+Alias /webaccess /usr/share/zarafa-webaccess/
+
+# Following Apache and PHP settings need to be set to work correct
+#
+<Directory /usr/share/zarafa-webaccess/>
+ # Some apache settings
+ Options -Indexes +FollowSymLinks
+
+ # Register globals must be off
+ php_flag register_globals off
+
+ # Magic quotes must be off
+ php_flag magic_quotes_gpc off
+ php_flag magic_quotes_runtime off
+
+ # The maximum POST limit. To upload large files, this value must
+ # be larger than upload_max_filesize.
+ php_value post_max_size 31M
+ php_value upload_max_filesize 30M
+
+ # Short open tags must be on
+ php_flag short_open_tag on
+
+ # Uncomment for debugging purposes only. Make sure Apache/PHP can
+ # write to this file or no errors will be logged!
+# php_flag log_errors on
+# php_value error_log /var/lib/zarafa-webaccess/error_log
+</Directory>