htaccess to nginx rewrite

Igor Sysoev is at rambler-co.ru
Wed Jan 28 13:14:39 MSK 2009


On Tue, Jan 27, 2009 at 10:12:21PM +0100, Vahid Mirjamali wrote:

> I did all the changed but it still failed to make it work, reattached 
> the new htaccess converts.
> 
> Any Ideas?
> 
> Attachments:
> http://www.ruby-forum.com/attachment/3213/newrewrite.txt

It seems you did not read the previous email:

--------------
3) In this type of rewrites:
     
location = /polls.html {
            rewrite  ^   index.php?page=Polls last;
        }
            
-           rewrite  ^   index.php?page=Polls last;
+           rewrite  ^   /index.php?page=Polls last;
--------------


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





More information about the nginx mailing list