Bug 11789 - apache/documentroot für Apache 2.x nicht mehr vorhanden
apache/documentroot für Apache 2.x nicht mehr vorhanden
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Apache
UCS 2.0
All Linux
: P4 normal (vote)
: UCS 2.3
Assigned To: Daniel Hofmann
Janek Walkenhorst
:
Depends on:
Blocks: 14432
  Show dependency treegraph
 
Reported: 2008-08-04 09:28 CEST by Moritz Muehlenhoff
Modified: 2009-12-21 08:49 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
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 Moritz Muehlenhoff univentionstaff 2008-08-04 09:28:54 CEST
Aufgefallen beim Update eines Kunden auf UCS 2.0:

Für Apache 1.3 gab es eine UCR-Variable mit der man das WWW-Root verändern konnte, für Apache 2.2 gibt es die nicht mehr:

sh-3.1$ rgrep documentroot * | grep -v svn
conffiles/etc/univention/apache/50srm:DocumentRoot @%@apache/documentroot@%@
conffiles/etc/univention/apache/60access:<Directory @%@apache/documentroot@%@>
Comment 1 Daniel Hofmann univentionstaff 2009-08-14 13:56:51 CEST
UCR-Variable apache2/documentroot mit default-Wert /var/www/ hinzugefügt.

Die Änderung dieses Wertes ändert lediglich die DocumentRoot-direktive in der Konfiguration.

Die Konfiguration für /var/www/ bleibt unverändert erhalten, allerdings funktioniert bspw. die URI
http://hostname/univention-directory-manager/index.php
dann nicht mehr.

Evtl. wollen wir daher vielleicht Alias-Direktiven in die Apache-Konfiguration vom udm (und weiterer Seiten) tun:

Alias /univention-directory-manager /var/www/univention-directory-manager

so dass die weiterhin funktionieren..?
Comment 2 Daniel Hofmann univentionstaff 2009-08-14 14:22:52 CEST
https://billy.knut.univention.de/bugzilla/show_bug.cgi?id=15374 diesbezüglich aufgemacht.
Comment 3 Janek Walkenhorst univentionstaff 2009-08-26 13:47:28 CEST
Verified:

Wenn man apache2/documentroot ändert werden nach einem Neustart die dort liegenden Dateien ausgeliefert.

UDM funktioniert dann wie erwartet nicht mehr.
Comment 4 Stefan Gohmann univentionstaff 2009-12-21 08:49:59 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".