rewrite rule for php easter eggs
renaud at llorien.org
Sun Apr 13 12:35:23 MSD 2008
> you need a proper regular expression.
> this should match it anywhere in the url, i.e.
> it shouldn't just check for ending in it, because the query string
> might still be active even though it has another key/value pair on the
> end of it.
> rewrite (.*)PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000(.*) /index.php last;
> (i think that should work!)
Unfortunately, no, it is not working, I already tried this. Even if I
use a subset, it doesn't work, for example, even
rewrite PHPB8B5F2A0 /index.php last;
doesn't work. I haven't put ^ nor $, so it should match whatever place
in the request without needing any .*
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3304 bytes
Desc: S/MIME Cryptographic Signature
More information about the nginx