Univention Bugzilla – Bug 19489
UMC-Module direkt anspringen
Last modified: 2012-09-11 11:15:09 CEST
Es wäre nett, wenn das auch mit der Kurzform der URL funktioniert http://$hostname/umc/index.php?init_umccmd=$command +++ This bug was initially created as a clone of Bug #18628 +++ Über eine URL sollte es möglich sein, UMC aufzurufen und ein Modul direkt anzuspringen, z.B. aus dem UDM heraus.
Schuld ist hier wahrscheinlich eine REWRITE-Regel in der Apache-Config.
Ja. Das liegt an der rewrite Regel. Für den speziellen Fall würde das so funktionieren: (matcht alles) -RedirectMatch ^/umc(/$|$) /univention-management-console/ +RedirectMatch ^/umc/?(.*?)$ /univention-management-console/$1 oder (matcht '' oder '/' oder '/index.php'$foo ) +RedirectMatch ^/umc/?(index\.php.*?)?$ /univention-management-console/$1 in conffiles/etc/apache2/sites-available/univention-management-console
(In reply to comment #2) > Ja. Das liegt an der rewrite Regel. Für den speziellen Fall würde das so > funktionieren: > > (matcht alles) > -RedirectMatch ^/umc(/$|$) /univention-management-console/ > +RedirectMatch ^/umc/?(.*?)$ /univention-management-console/$1 Es müsste noch etwas besser wie folgt gehen (ansonsten würde auch .../umcfoobar gematcht werden): RedirectMatch ^/umc(?:/(.*?))?$ /univention-management-console/$1
In 3.0 funktioniert dies soweit, bspw.: http://myhost/umc?module=udm&flavor=computers/computer