Differences

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

Link to this comparison view

Next revision
Previous revision
current:webui-setup [2015/01/13 14:01]
194.149.0.131 created
current:webui-setup [2015/01/13 14:13]
194.149.0.131
Line 1: Line 1:
 === Setting up the web based GUI === === Setting up the web based GUI ===
  
-The gui is a PHP application,​ by default it's installed to /​var/​clapf/​www.+The gui is a PHP application,​ by default it's installed to /​var/​clapf/​www, and you must map a virtualhost to the documentroot of the GUI, eg. antispamgui.yourdomain.com.
  
 The first step is to create config-site.php,​ which stores local site specific settings. An example config-site.php:​ The first step is to create config-site.php,​ which stores local site specific settings. An example config-site.php:​
Line 13: Line 13:
 $config['​BRANDING_URL'​] = '​http://​clapf.org/';​ $config['​BRANDING_URL'​] = '​http://​clapf.org/';​
 $config['​SITE_NAME'​] = '​antispamgui.yourdomain.com';​ $config['​SITE_NAME'​] = '​antispamgui.yourdomain.com';​
-$config['​SITE_URL'​] = 'https://​antispamgui.yourdomain.com/';​+$config['​SITE_URL'​] = 'http://​antispamgui.yourdomain.com/';​
  
 $config['​SMTP_DOMAIN'​] = '​antispamgui.yourdomain.com';​ $config['​SMTP_DOMAIN'​] = '​antispamgui.yourdomain.com';​
Line 24: Line 24:
  
 In case of apache 2.x, make sure rewriting rules are allowed, see .htaccess. For nginx you may find an example config in contrib/​webserver/​clapf-nginx.conf In case of apache 2.x, make sure rewriting rules are allowed, see .htaccess. For nginx you may find an example config in contrib/​webserver/​clapf-nginx.conf
 +
 +The default account is the built-in administrator:​
 +
 +   ​admin@local:​clapfrocks
 +
 +
 +Finally visit http://​antispamgui.yourdomain.com,​ and make sure to change the admin@local password, then create or import users. Start with adding the valid domain names.