Changes between Initial Version and Version 2 of Ticket #408


Ignore:
Timestamp:
07/13/14 22:10:57 (10 years ago)
Author:
Maxim Dounin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #408 – Description

    initial v2  
    44Having simple config
    55
     6{{{
    67location / {
    7 set $out "http://example.com/?a=b&c=d%";
    8 if ( $out ~ "(.*)" ){
    9 set $z $1;
    10 rewrite ^ $z redirect;
     8    set $out "http://example.com/?a=b&c=d%";
     9    if ($out ~ "(.*)") {
     10        set $z $1;
     11        rewrite ^ $z redirect;
     12    }
    1113}
     14}}}
    1215
    1316Making 2 requests:
    1417
     18{{{
    1519telnet 127.0.0.1 80
    1620Trying 127.0.0.1...
     
    3640</html>
    3741Connection closed by foreign host.
     42}}}
    3843
    39 
     44{{{
    4045telnet 127.0.0.1 80
    4146Trying 127.0.0.1...
     
    6166</html>
    6267Connection closed by foreign host.
    63 
     68}}}
    6469
    6570Expected the same location as in first request, but got another.