diff -r 875e0c6a6c1c -r a587bc920c3d debian/examples/apache/littlebird-tc.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/examples/apache/littlebird-tc.conf Fri Sep 16 10:16:08 2011 +0200 @@ -0,0 +1,68 @@ +# Note: all lines following a # debconf line are managed +# by debconf. If you want to take control, just remove the +# # debconf line. + + # debconf: {{listen}} + # Listen 443 + + + + # debconf: ServerAdmin {{serveradmin}} + ServerAdmin webmaster@example.com + # debconf: ServerName {{servername}} + ServerName www.example.com + # debconf: Redirect permanent / {{serverurl}} + Redirect permanent / https://www.example.com/ + + + + # debconf: + + + # debconf: ServerAdmin {{serveradmin}} + ServerAdmin webmaster@example.com + # debconf: ServerName {{servername}} + ServerName www.example.com + + DocumentRoot /usr/lib/littlebird-tc/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 + + + 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 /usr/lib/littlebird-tc/CA/certs/Trustcenter_CA_LB.pem + SSLCADNRequestFile /usr/lib/littlebird-tc/CA/certs/Trustcenter_CA.pem + + SSLVerifyClient none + + + SSLVerifyClient none + + + SSLVerifyClient none + + + 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 + +