summaryrefslogtreecommitdiffstats
path: root/zarafa-webaccess.conf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-29 07:46:49 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-29 07:46:49 +0100
commit2ca5865e2ce27d7b3f4f300773109fa36d553c64 (patch)
tree1fd10d35694bad0776c1ba484477b6182c63ac40 /zarafa-webaccess.conf
zarafa: import from f16
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>