RADIUSdesk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
getting_started:install_ubuntu_dynamic_login [2017/05/21 21:07]
admin [Mikrotik]
getting_started:install_ubuntu_dynamic_login [2017/05/21 21:08] (current)
admin [Configuration instructions]
Line 24: Line 24:
  
 ===== Configuration instructions ===== ===== Configuration instructions =====
-  * We can instruct RADIUSdesk which **mobile** and which **desktop** ​pages should be served.+  * We can instruct RADIUSdesk which  pages should be served.
   * This is specified in a configuration file.   * This is specified in a configuration file.
-    * The file is located at ///​usr/​share/​nginx/​html/​cake2/rd_cake/Config/​DynamicLogin.php//​+    * The file is located at ///​usr/​share/​nginx/​html/​cake3/rd_cake/config/​DynamicLogin.php//​
   * See the following snippet from the file:   * See the following snippet from the file:
 <code php> <code php>
  
 $config['​DynamicLogin'​]['​theme'​]['​Default'​] = array( $config['​DynamicLogin'​]['​theme'​]['​Default'​] = array(
- '​coova_desktop'​ =>​ '/rd_login/cc/d/​index.html',​ + '​coova_desktop'​ =>​ '/login/cp/​index.html',​ 
- '​coova_mobile'​ =>​ '/rd_login/cc/m/​index.html',​ + '​coova_mobile'​ =>​ '/login/cp/​index.html',​ 
- '​mikrotik_desktop'​ =>​ '/rd_login/mt/d/​index.html',​ + '​mikrotik_desktop'​ =>​ '/login/cp/​index.html',​ 
- '​mikrotik_mobile'​ =>​ '/rd_login/mt/m/index.html',​ + '​mikrotik_mobile'​ =>'/​login/cp/​index.html',​
-); +
- +
-$config['​DynamicLogin'​]['​theme'​]['​Green'​] = array( +
- '​coova_desktop'​ =>​ '/​rd_login/​cc/​d/​index_green.html',​ +
- '​coova_mobile'​ =>​ '/​rd_login/​cc/​m/​index_green.html',​ +
- '​mikrotik_desktop'​ =>​ '/​rd_login/​mt/​d/​index_green.html',​ +
- '​mikrotik_mobile'​ =>​ '/​rd_login/​mt/​m/​index_green.html',​ +
-); +
- +
-$config['​DynamicLogin'​]['​theme'​]['​Black'​] = array( +
- '​coova_desktop'​ =>​ '/​rd_login/​cc/​d/​index_black.html',​ +
- '​coova_mobile'​ =>​ '/​rd_login/​cc/​m/​index_black.html',​ +
- '​mikrotik_desktop'​ =>​ '/​rd_login/​mt/​d/​index_black.html',​ +
- '​mikrotik_mobile'​ =>​ '/​rd_login/​mt/​m/​index_black.html',​ +
-); +
- +
-$config['​DynamicLogin'​]['​theme'​]['​Grey'​] = array( +
- '​coova_desktop'​ =>​ '/​rd_login/​cc/​d/​index_grey.html',​ +
- '​coova_mobile'​ =>​ '/​rd_login/​cc/​m/​index_grey.html',​ +
- '​mikrotik_desktop'​ =>​ '/​rd_login/​mt/​d/​index_grey.html',​ +
- '​mikrotik_mobile'​ =>​ '/​rd_login/​mt/​m/​index_grey.html',​+
 ); );