8000 GitHub - Mark-H/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.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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.

License

Notifications You must be signed in to change notification settings

Mark-H/ContextRouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContextRouter

ContextRouter is a simple plug-and-play plugin allowing you to route different contexts based on the http_host context settings that you need to set anyway.

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, caches it and routes based on that.

GETTING STARTED

  1. Install the plugin (you're working on that, good job!)
  2. Make sure your contexts have http_host context settings set.
  3. (optional) Assign http_host_aliases context settings where needed to alias other hosts.
  4. Clear cache via Site > Clear Cache to rebuild the cache file.

If you need routing based on subfolders as well, then it's recommended to use xRouting instead, which is a more powerful alternative.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0