Tag: apache

Apache, mod_rewrite, The [N] Flag And An Infinite Loop

When I renamed Utterson to Newcomen, I installed some rewrite rules to make sure the old Utterson URLs redirect properly to their Newcomen counterparts.

In theory, this should have been pretty easy, mod_rewrite should allow some equivalent to Perl’s s/…/…/g for its rewrite rules. Checking the mod_rewrite documentation, the [N] flag seemed to be exactly what I was looking for.

Read the full article…