Changes between Initial Version and Version 1 of Ticket #270, comment 4


Ignore:
Timestamp:
01/03/13 16:56:34 (11 years ago)
Author:
Valentin V. Bartenev

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #270, comment 4

    initial v1  
    77Note: there's no `^~*`.
    88
    9 When you write something like `location ^~*/(a|b)/(.+) {`, it's interpreted as prefix location (`^~`) with `*/(a|b)/(.+)` matching string (not regular expression!). So your request must look exactly like this one: `GET *%2F(a%7Cb)%2F(.%2B) HTTP/1.0`, which isn't even a valid request line.
     9When you write something like `location ^~*/(a|b)/(.+) {`, it's interpreted as prefix location (`^~`) with `*/(a|b)/(.+)` matching string (not regular expression!). So your request must look like this one: `GET */(a%7Cb)/(.+) HTTP/1.0`, which isn't even a valid request line.