File racktables.conf of Package RackTables
# This configuration assumes that you are running Racktables under the
# URL https://racktables.suse.de/ - which might not be what you want.
#
# use 'sed -i "s|racktables.suse.de|yourdomain.example.com|g" /etc/apache2/vhosts.d/RackTables.conf
# to adapt most settings easily to your needs. But we recommend to check the configuration anyway.
#
<VirtualHost *:80>
ServerName racktables.suse.de
RewriteEngine On
RewriteRule ^/(.*)$ https://racktables.suse.de/$1 [R=301,L]
Redirect permanent / https://racktables.suse.de/
</VirtualHost>
<VirtualHost *:443>
ServerName racktables.suse.de
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ALL:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@STRENGTH
# Please adapt the path names to your need - the files given here are
# NOT included in the package!
SSLCertificateFile /etc/apache2/ssl.crt/racktables.suse.de.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/racktables.suse.de.pem
SSLCertificateChainFile /etc/apache2/ssl.crt/CA_chain_racktables.suse.de.crt
DocumentRoot /usr/share/RackTables/wwwroot
# if not specified, the global error log is used
ErrorLog /var/log/apache2/racktables-error_log
CustomLog /var/log/apache2/racktables-access_log combined
# don't loose time with IP address lookups
HostnameLookups Off
# needed for named virtual hosts
UseCanonicalName Off
Include /etc/apache2/conf.d/racktables.conf
</VirtualHost>