Changes between Initial Version and Version 2 of Ticket #408
- Timestamp:
- 07/13/14 22:10:57 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #408 – Description
initial v2 4 4 Having simple config 5 5 6 {{{ 6 7 location / { 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 } 11 13 } 14 }}} 12 15 13 16 Making 2 requests: 14 17 18 {{{ 15 19 telnet 127.0.0.1 80 16 20 Trying 127.0.0.1... … … 36 40 </html> 37 41 Connection closed by foreign host. 42 }}} 38 43 39 44 {{{ 40 45 telnet 127.0.0.1 80 41 46 Trying 127.0.0.1... … … 61 66 </html> 62 67 Connection closed by foreign host. 63 68 }}} 64 69 65 70 Expected the same location as in first request, but got another.