I think I’ve tried all different approaches for this, but here is the
problem: I need to separate all URLs starting with ‘/?’ from the
remaining ones (eg /?p=12).
I’ve tried a bunch of different regex matches, but none of them seems to
be able to match URLs starting with a ‘?’. I already started a thread
here (http://forum.nginx.org/read.php?11,8435), but Jim referred me over
to the mailing list.
The above regexes should match the request, but for some reason they
don’t. Could anyone please provide me with a solution here?
Ps. Kudos to the deveopers for developing a great webserver. Compared to
Apache the configuration syntax is both easier to read and write. Ds.
Posted at Nginx Forum: