Author Topic: Roundcube behind a Apache2 Webserver  (Read 243 times)

Offline RUDITERROR

  • Newbie
  • *
  • Posts: 1
Roundcube behind a Apache2 Webserver
« on: December 20, 2019, 02:43:16 AM »
Hi together!

I want to use my roundcube installation behind a Reverse Proxy.

                ProxyRequests Off
                ProxyVia Off
                ProxyPreserveHost On
   
                <Location /mail>
                ProxyPass http://127.0.0.1:81
                ProxyPassReverse http://127.0.0.1:81
                </Location>

#http-config
 <VirtualHost _default_:81>
                ServerName www.xxx.de
                ServerAlias xxx.de xxx.spdns.de 192.168.1.10
                ServerAdmin xxx@gmx.de
                DocumentRoot /var/www/roundcubemail

                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined

                <Directory /var/www/roundcubemail>
                Options -Indexes
                AllowOverride All
                Order allow,deny
                allow from all
                </Directory>
        </VirtualHost>


Unfortunately the configuration does not work. Does anyone of you have a working Apache configuration so that I can reach the URL behind my Apache?

Thanks!

Marco