Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ticktackk/routeonsubdomainforxf2
https://github.com/ticktackk/routeonsubdomainforxf2
subdomain xenforo
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ticktackk/routeonsubdomainforxf2
- Owner: ticktackk
- License: mit
- Created: 2019-11-07T22:16:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T19:45:27.000Z (almost 5 years ago)
- Last Synced: 2024-11-08T05:41:24.951Z (2 months ago)
- Topics: subdomain, xenforo
- Language: PHP
- Size: 59.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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'] = '.'; // this is so cookies are available on every sub-domain
```
Replacing `` with your own host. You'll also need to update nginx/apache/etc host configuration file to
support the routes that you have enabled.Once the cookie domain is updated in the `config.php` file you can proceed to enable routes on subdomain via ACP > Setup > Navigation > Routes on subdomain.
# License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.