--- a/debian/MISC/apache/littlebird-tc Sat Sep 03 00:03:24 2011 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-# Note: all lines following a # debconf line are managed
-# by debconf. If you want to take control, just remove the
-# # debconf line.
-<IfModule mod_ssl.c>
- # debconf: {{listen}}
- # Listen 443
-</IfModule>
-
-<VirtualHost *:80>
- # debconf: ServerAdmin {{serveradmin}}
- ServerAdmin webmaster@example.com
- # debconf: ServerName {{servername}}
- ServerName www.example.com
- # debconf: Redirect permanent / {{serverurl}}
- Redirect permanent / https://www.example.com/
-</VirtualHost>
-
-<IfModule mod_ssl.c>
- # debconf: <VirtualHost _default_:{{serverport}}>
- <VirtualHost _default_:443>
-
- # debconf: ServerAdmin {{serveradmin}}
- ServerAdmin webmaster@example.com
- # debconf: ServerName {{servername}}
- ServerName www.example.com
-
- DocumentRoot /srv/www/littlebird/TrustCenter/public
- <Directory /srv/www/littlebird/TrustCenter/public>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} -s [OR]
- RewriteCond %{REQUEST_FILENAME} -l [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^.*$ - [NC,L]
- RewriteRule ^.*$ index.php [NC,L]
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
-
- SSLEngine on
- # debconf: SSLCertificateFile {{crt}}
- SSLCertificateFile /etc/ssl/certs/www.example.com-crt.pem
- # debconf: SSLCertificateKeyFile {{key}}
- SSLCertificateKeyFile /etc/ssl/key/www.example.com-key.pem
-
- SSLOptions +ExportCertData
-
- SSLVerifyClient require
- SSLVerifyDepth 2
- SSLCACertificateFile /srv/www/littlebird/CA/certs/Trustcenter_CA_LB.pem
- SSLCADNRequestFile /srv/www/littlebird/CA/certs/Trustcenter_CA.pem
- <Location /css>
- SSLVerifyClient none
- </Location>
- <Location /js>
- SSLVerifyClient none
- </Location>
- <Location /images>
- SSLVerifyClient none
- </Location>
-
- LogLevel warn
- # debconf: ErrorLog ${APACHE_LOG_DIR}/{{servername}}/error.log
- ErrorLog ${APACHE_LOG_DIR}/www.example.com/error.log
- # debconf: CustomLog ${APACHE_LOG_DIR}/{{servername}}/access.log combined
- CustomLog ${APACHE_LOG_DIR}/www.example.com/access.log combined
- </VirtualHost>
-</IfModule>