Author Topic: Apache virtual host configuration for Roundcube  (Read 500 times)

Offline kikinovak

  • Newbie
  • *
  • Posts: 6
Apache virtual host configuration for Roundcube
« on: December 09, 2019, 03:16:19 AM »

The official documentation is a bit laconic about virtual host configuration.

I have a vanilla Roundcube 1.4.1 installation on my sandbox server for testing purposes, and here's the corresponding virtual host configuration.

Code: [Select]
# /etc/httpd/conf.d/

# ->
<VirtualHost *:80>
  Redirect /

<VirtualHost _default_:443>
  Header always set X-Frame-Options "SAMEORIGIN"
  DocumentRoot "/var/www/slackbox-mail/html"
  <Directory "/var/www/slackbox-mail/html">
    Options +FollowSymlinks
    AllowOverride All
  SSLEngine on
  SSLCertificateFile /etc/letsencrypt/live/
  SSLCertificateKeyFile /etc/letsencrypt/live/
  SSLCertificateChainFile /etc/letsencrypt/live/
  BrowserMatch "MSIE [2-5]" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
  ErrorLog logs/
  CustomLog logs/ common

Any comments and/or suggestions ?

Cheers from the sunny South of France.