[horde] set initial_application
Jan Schneider
jan at horde.org
Wed Apr 22 15:39:56 UTC 2015
Zitat von A. Schulze <sca at andreasschulze.de>:
> Jan Schneider:
>
>>> is it possible to overrule the link destination behind the login button?
>>
>> No
>
> Jan, I have a dirty hack:
>
> I setup nginx to handle /login.php (and only exact login.php!) special.
> nginx could modify the query_string before handover to php-fpm.
>
> If the query_sting contain 'url=' I set fastcgi_param QUERY_STRING to "".
> Looks really dirty but works. No idea if that break other things. Could it?
Well, you won't return to the original page with guest access, once
you logged in. But since this is exactly what you want, you probably
won't call it breakage.
> A better approach would be to write a regex that match on url=foo
> and leave other args untouched.
> Is it worth to do so?
>
> Andreas
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
More information about the horde
mailing list