Rewrite rule help

Igor Sysoev is at rambler-co.ru
Fri May 29 11:52:05 MSD 2009


On Fri, May 29, 2009 at 11:24:36AM +0530, Anoop Alias wrote:

> Hello,
> 
> It would be great if someone can help me port the following apache rewrite
> rules to nginx
> 
> =====================
> RewriteRule @^/paOS(.+)@i /?/paos$1 [L]
> RewriteRule ^SOap(.+) /?/paos$1 [L]
> RewriteRule ^paos(.+) /?/paos$1 [L]
> 
> =====================

I did not find @.. at i syntax in mod_rewrite documntation, but it seems
it should case insensitive regex.

What should be done with /?/paos.... then ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list