Welcome! Log In Create A New Profile

Advanced

rewrite flags & apache

Chuck Young
August 06, 2010 02:54PM
Hi,

I've searched the online docs, forum & google and still need some
clarification.

As I understand it, the nginx rewrite flags "last" and "break" differ in that
the "last" flag will stop all *rewrite* processing and search for the
resulting URI, whereas the "break" flag will stop *all* processing, including
for instance searching for "location" directives, and fetch the (rewritten)
URI. This is what I gather from the example here:

http://wiki.nginx.org/NginxHttpRewriteModule#rewrite

If this is correct, then is it also correct that the "last" ("[L]") flag for
apache rewrites corresponds directly to nginx's "last" flag? See:

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule

thx
cy

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

rewrite flags & apache

Chuck Young August 06, 2010 02:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 138
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready