[pkg-kolab] r290 - trunk/kolab-resource-handlers/debian
Noel Koethe
noel at costa.debian.org
Wed Feb 8 12:59:34 UTC 2006
Author: noel
Date: 2006-02-08 12:59:33 +0000 (Wed, 08 Feb 2006)
New Revision: 290
Added:
trunk/kolab-resource-handlers/debian/apache2-kolab.conf
Modified:
trunk/kolab-resource-handlers/debian/rules
Log:
add apache2 config
Added: trunk/kolab-resource-handlers/debian/apache2-kolab.conf
===================================================================
--- trunk/kolab-resource-handlers/debian/apache2-kolab.conf 2006-02-08 12:50:36 UTC (rev 289)
+++ trunk/kolab-resource-handlers/debian/apache2-kolab.conf 2006-02-08 12:59:33 UTC (rev 290)
@@ -0,0 +1,62 @@
+NameVirtualHost *:443
+<VirtualHost *:443>
+
+ # FreeBusy list rewrite rules
+ RewriteEngine On
+ RewriteLog "/tmp/rewrite.log"
+ RewriteLogLevel 9
+ RewriteRule ^/freebusy/([^/]+)\.ifb /usr/share/kolab-resource-handlers/freebusy/freebusy.php?uid=$1
+ RewriteRule ^/freebusy/([^/]+)\.vfb /usr/share/kolab-resource-handlers/freebusy/freebusy.php?uid=$1
+ RewriteRule ^/freebusy/([^/]+)\.xfb /usr/share/kolab-resource-handlers/freebusy/freebusy.php?uid=$1&extended=1
+ RewriteRule ^/freebusy/trigger/(.+)\.pfb /usr/share/kolab-resource-handlers/freebusy/pfb.php?folder=$1&cache=0
+ RewriteRule ^/freebusy/(.+)\.pfb /usr/share/kolab-resource-handlers/freebusy/pfb.php?folder=$1&cache=1
+ RewriteRule ^/freebusy/trigger/(.+)\.xpfb /usr/share/kolab-resource-handlers/freebusy/pfb.php?folder=$1&cache=0&extended=1
+ RewriteRule ^/freebusy/(.+)\.xpfb /usr/share/kolab-resource-handlers/freebusy/pfb.php?folder=$1&cache=1&extended=1
+
+ #Options for freebusy
+ <Directory /usr/share/kolab-resource-handlers/freebusy>
+ Options Indexes FollowSymLinks
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ #Alias + options admin frontend
+ Alias /admin /usr/share/kolab-webadmin/admin
+ <Directory /usr/share/kolab-webadmin/admin>
+ Options Indexes FollowSymLinks
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ #Change this for your documentroot directory
+ DocumentRoot "/var/www"
+
+ #Change servername
+ ServerName example.com:443
+
+ #Your mail adress for problems ;)
+ ServerAdmin root at example.com
+
+ #Special logs
+ ErrorLog /var/log/apache2/ssl_error.log
+ TransferLog /var/log/apache2/ssl_access.log
+ CustomLog /var/log/apache2/ssl_requestr.log \
+ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
+
+ #SSL options
+ SSLEngine on
+ SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
+ #Path to your certificate
+ SSLCertificateFile /etc/apache2/ssl/apache.pem
+
+ <Files ~ "\.(cgi|shtml|phtml|php3?)$">
+ SSLOptions +StdEnvVars
+ </Files>
+
+ #Special IE options
+ SetEnvIf User-Agent ".*MSIE.*" \
+ nokeepalive ssl-unclean-shutdown \
+ downgrade-1.0 force-response-1.0
+
+</VirtualHost>
+
Modified: trunk/kolab-resource-handlers/debian/rules
===================================================================
--- trunk/kolab-resource-handlers/debian/rules 2006-02-08 12:50:36 UTC (rev 289)
+++ trunk/kolab-resource-handlers/debian/rules 2006-02-08 12:59:33 UTC (rev 290)
@@ -66,6 +66,7 @@
# Install conffiles
install -D -m 644 kolab-resource-handlers/resmgr/resmgr.conf debian/kolab-resource-handlers/etc/kolab/resmgr.conf
install -D -m 644 kolab-resource-handlers/freebusy/freebusy.conf debian/kolab-resource-handlers/etc/kolab/freebusy.conf
+ install -D -m 644 debian/apache2-kolab.conf debian/kolab-resource-handlers/etc/kolab/apache2-kolab.conf
binary-arch: build install
# We are binary-indep so nothing to do here.
More information about the pkg-kolab-devel
mailing list