|Short description||Provides a module for rewriting URLs and redirecting requests by using classical regular expressions. Rules can be varied, nested and chained to even fulfill complex requirements. In addition, the rewrite engine also serves as a basis for complex rewrite maps which can be loaded from external datasources as e.g. databases.|
The rewrite module is a webserver module included within the appserver.io Webserver environment by default. It provides sophisticated rewriting and redirecting capabilities based on complex request analysis and is oriented on similar solutions of other webserver components. Especially functionality of the Apache solution mod_rewrite got adopted and is offered by the Rewrite Module.
Use cases begin with application specific rewrite solutions developers can port rules from, so they can centrally manage them, increase interoperability between applications and increase performance by omitting unnecessary calls to the applications. But also more complex solutions are already integrated in the module. A company might want to manage external redirects and rewrites within their web presence with their own toolset rather than the appserver.io Dashboard. This allows them to enable different employees lacking the technical background and allow for e.g. marketing campaigns without querying the IT department. This is possible due to the module's ability to dynamically enhance its rewrite chain from external datasources such as databases or querying them in real time. This makes managing a dynamic web presence a breeze, empowers the complete team and keeps dedicated work where the business background is.
The module still presents its full potential to any technical personal by offering a fully PCRE compliant condition engine together with a wide set of dynamically available backreferences such as the user agent or server variables. This allows for complex and fine grained configurations which optimally aid applications running on the webserver.