xF2 Route on Subdomain

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Heisenberg submitted a new resource:

    - Get help.example.com or media.example.com because you can.

    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>...

     

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Resource updated with a new update entry:



    Change log
    • Fixed: Missing phrase
    • Fixed: Incompatible with SEO friendly url ( )
    • New: Add support for route filter ( )

     

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Resource updated with a new update entry:



    Change log

    • Fixed: Cookies are not passed when making request to a subdomain or vice versa ( )
    • Changed: Now only the cookie domain needs to be updated
    Note: Make sure your cookie domain starts with a . (period).

     

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Resource updated with a new update entry:



    Changelog
    • Fixed: Links generated using router do not respect subDomainSupportEnabled flag ( )
    • Fixed: Access-Control-Allow-Credentials not being added to header if index page is not on route ( )
    • Changed: Check if the referrer in the header is part of current installation and if it is then check if the...

     

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Resource updated with a new update entry:



    • Misc: When AccessControlAllowOriginHeaderAlreadySetException exception is thrown, the existing value can now be read using the new getExistingValue() method
    • Misc: Use a protected method to return the \XF\App instance
    • Fixed: Updated doc blocks

     

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Resource updated with a new update entry:



    • Fix: Pasting image from clipboard into editor fails ( )
    • Fix: Minified attachment_manager.js is missing from release archive ( )
    • Fix: When redirecting to route which is on a sub-domain form data is not passed to new URL ( )...