rewrite rule for php easter eggs

Renaud Allard renaud at llorien.org
Sun Apr 13 12:44:40 MSD 2008



Roxis wrote:

> 
> nginx rewrite uses only URL-path, not URL-path+query_string
> 
> to match against query_string use if directive
> 
> if ($query_string ~ "blabla") {
>     return 403;
> }
> 

Thanks, it solved my problem. I was sure it was something easy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3304 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://nginx.org/pipermail/nginx/attachments/20080413/51a337bf/attachment.bin>


More information about the nginx mailing list