Route on Subdomain

Route on Subdomain 1.0.3

Vous n'avez pas l'autorisation de télécharger
Description courte
This add-on allows setting routes to be used on specific subdomains.
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.
Auteur
newimage
Vues
673
Type d’extension
zip
Taille du fichier
32 Ko
Première publication
Dernière mise à jour
Évaluations 0.00 étoile(s) 0 évaluations
Link was Broken? Please Envoyer un message à l’équipe NP et nous vous aiderons rapidement !
Soutenez le développeur Si vous êtes satisfait du test ou que votre projet vous a rapporté de l’argent, cliquez sur le bouton « Plus d’informations » pour soutenir le développeur en achetant.
Haut