Bug 55345 - apache2/startsite recursion
apache2/startsite recursion
Status: NEW
Product: UCS
Classification: Unclassified
Component: Apache
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-10-25 16:46 CEST by Philipp Hahn
Modified: 2022-10-25 16:49 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
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 Philipp Hahn univentionstaff 2022-10-25 16:46:10 CEST
ucr set apache2/documentroot=/var/www/html apache2/startsite=

leads to an infinite recursion because /etc/apache2/ucs-sites.conf.d/ucs-sites.conf:21
> RedirectMatch ^/$ /
Comment 1 Philipp Hahn univentionstaff 2022-10-25 16:49:46 CEST
As /etc/univention/templates/files/etc/apache2/ucs-sites.conf.d/ucs-sites.conf defaults to
> print('RedirectMatch ^/$ /%s' % configRegistry.get('apache2/startsite', 'univention/'))

it cannot be disabled, where the UCRV info is misleading:
# ucr info apache2/startsite
apache2/startsite: 
 If the URL of the Apache server is accessed over the IP address or the hostname, a redirect to the UCS startpage is done in the standard setting. This variable allows the configuration of the subpage where the redirect points to.
 Categories: service-apache
 Default: (not set)

s/allow/forces/