3 ms·
We only use it for badly designed software that uses mod_rewrite rules as integral part of the application and not just "set those 3 rules to direct it to the e
by ilyt 3y ago
We only use it for badly designed software that uses mod_rewrite rules as integral part of the application and not just "set those 3 rules to direct it to the entry point".
- slim 3y agosome peoples badly designed software is other peoples micro services
- ilyt 3y agoThe 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.