Rewrite Engine - Web Frameworks

Web Frameworks

Many web frameworks include URL rewriting, either directly or through extension modules.

  • Apache HTTP Server has URL rewriting provided by the mod_rewrite module.
  • URL Rewrite is available as an extension to Microsoft IIS.
  • Ruby on Rails has built-in URL rewriting via Routes
  • Java, and Servlet/Java EE have extendable URL rewriting via the OCPsoft URLRewriteFilter and Tuckey UrlRewriteFilter.
  • Java Server Faces, Java EE, and Servlet have simplified URL rewriting via the PrettyFaces: URLRewriteFilter.
  • Django uses a regular-expressions based system. Note that this is not strictly URL rewriting since there is no script to 'rewrite' to, nor even a directory structure; but it provides the full flexibility of URL rewriting.
  • Java Stripes Framework has had integrated functionality since version 1.5.
  • Many Perl frameworks, such as Mojolicious and Catalyst, have this feature.
  • Codeigniter has URL rewriting provided.
  • lighttpd has a mod_rewrite module.
  • nginx has a rewrite module.
  • Hiawatha HTTP server has a URL Toolkit which supports URL rewriting.
  • Cherokee HTTP server supports regular expressions of URL rewriting and redirections.

From a software development perspective, URL rewriting can aid in code modularization and control flow, making it a useful feature of modern web frameworks.

Read more about this topic:  Rewrite Engine

Famous quotes containing the word web:

    The web of our life is of a mingled yarn, good and ill
    together.
    William Shakespeare (1564–1616)