Rewrite rule for nginx from Apache

the_traveller nginx-forum at nginx.us
Fri May 13 05:08:36 MSD 2011


well first of all thank you for you quick reply ..
but i've tried this tool and it's not working...
i there any way to know the basics of the ngnix???

other wise look at the rewrite model 

rewrite ^/index(.*)$ /;
rewrite ^/chat/.* /;
rewrite ^/Songs(.*)$ /;
rewrite ^/Jokes(.*)$ /;
rewrite ^/Ash3ar(.*)$ /;
rewrite ^/iraq/.* /;
rewrite ^/Song/.* /;
rewrite ^/Joke/.* /;
rewrite ^/Poem/.* /;
rewrite ^/link/.* /;
rewrite ^/search/.* /;
rewrite ^/adv-conditions(.*)$ /;
rewrite ^/adv-payments(.*)$ /;


it haven't consider the file file names ... so i'm little bit confused
about that tool
and so it didn't work

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,23868,197717#msg-197717




More information about the nginx mailing list