Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: RUDITERROR on December 20, 2019, 02:43:16 AM

Title: Roundcube behind a Apache2 Webserver
Post by: RUDITERROR 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