Route on Subdomain

xF2 Add-on Route on Subdomain 1.0.3

No permission to download
Compatible XF Versions
  1. 2.1
Additional Requirements
XenForo 2.1.0+
PHP 7.2.0+
Route on Subdomain
This add-on allows setting routes to be used on specific subdomains.

Installation
After installing the add-on like you would install any other add-on, you must add these lines to your config.php:
PHP:
$config['cookie']['domain'] = '<example.com>'; // this is so cookies are available on every sub-domain
$config['tckRouteOnSubdomain']['primaryHost'] = '<example.com>' // this is to differentiate real host vs. route ;
Replacing <example.com> with your own host. You'll also need to update nginx/apache/etc host configuration file to support wildcard.

Once changes has been made to config.php you can enable routes on subdomain via ACP > Setup > Navigation > Routes on subdomain.
Author
AnimeHaxor
Size
34.3 KB
Extension
zip
Downloads
5
Views
1,283
First release
Last update

More resources from AnimeHaxor

Latest updates

  1. More bug-fixes

    Fix: Pasting image from clipboard into editor fails (#18) Fix: Minified attachment_manager.js is...
  2. Fix CORS Preflight failing

    Fix: CORS Preflight fails (#12) Change: Rename App class to Listener (#13) Change: Code event...
  3. 1.0.1

    Fix: AJAX fails on Internet Explorer (#10)