Welcome! Log In Create A New Profile

Advanced

Re: Help with specific redirect to https

Pete Ashdown
December 12, 2012 02:24PM
On 12/12/2012 11:07 AM, Antonio P.P. Almeida wrote:
>> Thanks for your attempt, but this failed as well.
>
> What's the exact structure of your URI?
>
> If it's an argument then there are several approaches. For starters this
> should work (but it's ugly :) to improve it we need further details).
>
> map $request_uri $redirect_https {
> default 0;
> ~*^.*UserLogin.*$ 1;
> }

This is what it looks like via Mediawiki. The &returnto argument is
dependent on where the Login button is hit, and may or may not be present.

http://domain.com/index.php?title=Special:UserLogin&returnto=Main+Page

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Help with specific redirect to https

Pete Ashdown December 12, 2012 11:14AM

Re: Help with specific redirect to https

Antonio P.P. Almeida December 12, 2012 11:50AM

Re: Help with specific redirect to https

Pete Ashdown December 12, 2012 12:00PM

Re: Help with specific redirect to https

Antonio P.P. Almeida December 12, 2012 01:08PM

Re: Help with specific redirect to https

Pete Ashdown December 12, 2012 02:24PM

Re: Help with specific redirect to https

António P. P. Almeida December 12, 2012 05:32PM

Re: Help with specific redirect to https

Pete Ashdown December 13, 2012 12:06PM

Re: Help with specific redirect to https

Francis Daly December 12, 2012 06:44PM

Re: Help with specific redirect to https

Francis Daly December 12, 2012 12:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready