News for hackers. Stuff that matters.
Re:The long life of Apache httpd 2.4 by ilyt on Saturday May 20, 2023 @03:05PM (#36014644)
The problem with mod_rewrite rules is that:

* applications are built to change them dynamically, making them part of application code, instead of you know... just having proper request router in app

* It is not "enter URL in, get rewritten URL out". You can do conditionals based on existence of files and a bunch of other stuff which means it can't be isolated from the app overusing it easily

Rewriting on loadbalancer to mangle some paths is to be avoided but overall not too bad to manage but what can happen in mod_rewrite by badly designed apps make app basically glued in into apache.

There are no comments on this comment yet.