Hi all,
a short question.
In our network is a 2end Webserver active and we want forward the Incoming requests for this server over the univention apache reverse proxy module.
Unfortunately this is not working, when we call the url photo.domain.de which is linked to http://192.168.1.2/photo always the configuration page of the UCS Server is visible.
We made something similar whit the kopano webapp and this works perfect.
At the moment I cant see what’s wrong.
Here the configutration file in apache2/sites-enabled
/etc/apache2/sites-enabled/photostation.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName photo.domain.de
SSLEngine on
SSLProxyEngine on
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLCertificateFile /etc/univention/letsencrypt/signed.crt
SSLCertificateKeyFile /etc/univention/letsencrypt/domain.key
SSLCACertificateFile /etc/univention/letsencrypt/chained.pem
#SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
### To enable special log format for HTTPS-access
# LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %p" combinedssl
# CustomLog /var/log/apache2/access.log combinedssl ## with port number
ProxyPass / http://192.168.1.2/photo
ProxyPassReverse / http://192.168.1.2/photo
</VirtualHost>
</IfModule>
as a example here is a rewrite conf file for the kopano webapp:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName webmail.domain.de
SSLEngine on
SSLProxyEngine on
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLCertificateFile /etc/univention/letsencrypt/signed.crt
SSLCertificateKeyFile /etc/univention/letsencrypt/domain.key
SSLCACertificateFile /etc/univention/letsencrypt/chained.pem
#SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
### To enable special log format for HTTPS-access
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %p" combinedssl
CustomLog /var/log/apache2/webmail-access.log combinedssl
RedirectMatch ^/$ https://webmail.domain.de/webapp
</VirtualHost>
</IfModule>
Best Theo