Bug 19489 - UMC-Module direkt anspringen
UMC-Module direkt anspringen
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.0
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UMC maintainers
:
Depends on: 18628
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-17 19:52 CEST by Andreas Büsching
Modified: 2012-09-11 11:15 CEST (History)
4 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): Usability
Max CVSS v3 score:
klaeser: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2010-08-17 19:52:16 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.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2010-08-17 19:56:56 CEST
Schuld ist hier wahrscheinlich eine REWRITE-Regel in der Apache-Config.
Comment 2 Florian Best univentionstaff 2011-11-15 14:42:16 CET
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
Comment 3 Alexander Kläser univentionstaff 2011-11-17 10:36:10 CET
(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
Comment 4 Alexander Kläser univentionstaff 2012-09-11 11:15:09 CEST
In 3.0 funktioniert dies soweit, bspw.:

http://myhost/umc?module=udm&flavor=computers/computer