ContextRouter Icon

ContextRouter

By Mark Hamstra (markh)

ContextRouter first screenshot

ContextRouter is a simple plug-and-play plugin allowing you to use different contexts, and, based on the http_host context settings you need to set anyway, it routes your front-end requests as required. 

In essence it's like the Gateway plugin from the docs, except you don't have to manually edit the plugin: it takes the settings you have already configured in your context and routes based on that.

Mark Hamstra


New in ContextRouter 1.2.0

ContextRouter 1.2.0-pl, December 5th 2018

  • Work around modContext ACLs to prevent sites from becoming inaccessible when a non-authorized user causes the cache to be cleared [#5]
  • Allow using OnMODXInit instead of OnHandleRequest event
  • Minor codes style tweaks
  • License updated to MIT instead of GPL v2

      ContextRouter 1.1.0-pl

      • (pl2) Fix unproperly prefixed system settings.
      • Big refactoring, now has a class handling the thinking.
      • #2 Added includeWww option (ON by default) which optionally also looks out for www.* hosts.
      • #3 Added support for httphostaliases context setting, which allows different http_host values routing to one context.

      More

      Information

      Released
      December 5, 2018
      Supported Versions
      2 – Current
      Downloads
      5,418
      License
      MIT

      More from Mark Hamstra

      SiteDashClient

      Powerful MODX monitoring and remote management.

      View
      VersionX

      Keeps track of your content and elements.

      View
      ClientConfig

      Manage client and theme settings from a comfortable interface.

      View
      C
      CSRF Helper

      Secures your FormIt and Login forms with CSRF tokens.

      View