nginx rewrite

Paul Greenwood attaboy.p at gmail.com
Sun Feb 15 23:52:19 MSK 2009


How would you use regx in nginx for this:

RewriteCond %{QUERY_STRING} ^$ [OR] %{REQUEST_URI} ^/Special:Search
RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]

I'm not sure to how to do this?

Thanks For the Help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090215/d7bf27bd/attachment.html>


More information about the nginx mailing list