Bug 42082 - support more "proxy url's" and proxypass options
support more "proxy url's" and proxypass options
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
:
: 41525 (view as bug list)
Depends on:
Blocks: 42061 42244
  Show dependency treegraph
 
Reported: 2016-08-22 14:43 CEST by Felix Botner
Modified: 2019-01-03 07:21 CET (History)
4 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2016-08-22 14:43:23 CEST
Right now an apps webinterface gets a proxy config /etc/apache2/sites-enabled/000-default:

        ProxyPass /horde http://127.0.0.1:40000/horde retry=0
        ProxyPassReverse /horde http://127.0.0.1:40000/horde

But we need a way to configure more of these, e.g. for the horde app

Alias /Microsoft-Server-ActiveSync /usr/share/horde/rpc.php
Alias /autodiscover/autodiscover.xml /usr/share/horde/rpc.php
Alias /Autodiscover/Autodiscover.xml /usr/share/horde/rpc.php
Alias /AutoDiscover/AutoDiscover.xml /usr/share/horde/rpc.php


/Microsoft-Server-ActiveSync in the container should be accessible from the host via  /Microsoft-Server-ActiveSync etc

we alos need to configure options for the ProxyPass statement (e.g., timeout=3600 is often used for ProxyPass /Microsoft-Server-ActiveSync), see https://www.apachelounge.com/viewtopic.php?t=6217
Comment 1 Felix Botner univentionstaff 2017-02-08 14:05:31 CET
*** Bug 41525 has been marked as a duplicate of this bug. ***
Comment 2 Florian Best univentionstaff 2017-02-08 15:22:28 CET
All the ProxyPassReverse directives which are set by the appcenter are also broken and have (not really) a effect.
Maybe better would be (but I didn't test it):
ProxyPassReverse /horde "%{REQUEST_URI}" interpolate
ProxyPassReverse /horde "http://$hostname.$domainname/"
ProxyPassReverse /horde "https://$hostname.$domainname/"
ProxyPassReverse /horde "http://$hostname/"
ProxyPassReverse /horde "https://$hostname/"
ProxyPassReverse /horde "http://$(get_default_ip)/"
ProxyPassReverse /horde "https://$(get_default_ip)/"
Comment 3 Stefan Gohmann univentionstaff 2019-01-03 07:21:11 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.