Screenshots

About ContextRouter

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. It caches the http_host => context relation so it doesn't perform excessive database lookups.

Information

Released
March 21, 2012
Supported Versions
2.0 – Current
Supported Database
MySQL, Microsoft SQL Server
Downloads
7,411
License
GPLv2

Instructions

Install the plugin and make sure your contexts have a http_host variable set. If it doesn't seem to route properly, try clearing the cache to update the context - http_host caching.

More

New in ContextRouter 1.0.0

There are no release notes for this version.

More

Current Releases

1.2.0-pl
December 5, 2018
2.0 – Current
More
View Deprecated Releases

More from Mark Hamstra

VX

VersionX

Keeps track of your content and elements.

CC

ClientConfig

Manage client and theme settings from a comfortable interface.

Al

Alpacka

Base service class and set of utilities for extras by modmore.

CS

CSRF Helper

Secures your FormIt and Login forms with CSRF tokens.