Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:soapconfbackend [2010/11/03 17:02]
coudot
documentation:latest:soapconfbackend [2019/01/15 15:54] (current)
Line 1: Line 1:
-====== SOAP configuration backend ======+====== SOAP configuration backend ​(deprecated) ​======
  
 You can share your configuration over the network using SOAP proxy system. You can share your configuration over the network using SOAP proxy system.
Line 5: Line 5:
 <note tip>Note that SOAP is not a real configuration backend, but just a proxy system to access to your configuration over the network</​note>​ <note tip>Note that SOAP is not a real configuration backend, but just a proxy system to access to your configuration over the network</​note>​
  
 +<note important>​SOAP has been deprecated. Prefer to use [[restconfbackend|REST configuration backend]]</​note>​
 ===== Configuration ===== ===== Configuration =====
  
Line 11: Line 12:
   * On your main server, configure a [[documentation:​1.0:​fileconfbackend|File]],​ [[documentation:​1.0:​sqlconfbackend|SQL]] or [[documentation:​1.0:​ldapconfbackend|LDAP]] backend   * On your main server, configure a [[documentation:​1.0:​fileconfbackend|File]],​ [[documentation:​1.0:​sqlconfbackend|SQL]] or [[documentation:​1.0:​ldapconfbackend|LDAP]] backend
   * Set SOAP parameter to true in the configuration using the manager: the portal will become a SOAP server   * Set SOAP parameter to true in the configuration using the manager: the portal will become a SOAP server
-  * Configure ​Apache ​to allow remote access: in ''​portal-apache2.conf'​, remote SOAP access is disabled by default. Change it:+  * Configure ​your web server ​to allow remote access. Remote SOAP access is disabled by default. You must change it as follow ​: 
 + 
 +in ''​portal-apache2.conf'​' ​
 <code apache> <code apache>
-# SOAP functions for sessions ​access (disabled by default) +# SOAP functions for configuration ​access (disabled by default) 
-<​Location /index.pl/​config>​ +<​Location /index.fcgi/​config>​ 
-    ​Order deny,​allow +    ​Require ip 192.168.2.0/​24
-    Deny from all +
-    Allow from 192.168.2.0/​24+
 </​Location>​ </​Location>​
 +</​code>​
 +
 +* in ''​portal-nginx.conf''​ :
 +<code nginx>
 +# SOAP functions for configuration access (disabled by default)
 +location /​index.psgi/​config {
 +  allow 192.168.2.0/​24;​
 +}
 </​code>​ </​code>​
  
Line 26: Line 35:
 <file ini> <file ini>
 type         = SOAP type         = SOAP
-proxy        = https://​auth.example.com/​index.pl/config+; Apache 
 +proxy        = https://​auth.example.com/​index.fcgi/​config 
 +; Nginx 
 +proxy        = https://​auth.example.com/​index.pcgi/config
 </​file>​ </​file>​
 You can also add some other parameters You can also add some other parameters