# documentation:2.0:soapconfbackend
Keywords: documentation,2.0,soapconfbackend

# SOAP configuration backend

You can share your configuration over the network using SOAP proxy system.

Note that SOAP is not a real configuration backend, but just a proxy system to access to your configuration over the network

## Configuration

### First, configure your real backend

- On your main server, configure a File, SQL or LDAP backend
- 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:

    # SOAP functions for configuration access (disabled by default)
    <Location /index.pl/config>
        Order deny,allow
        Deny from all
        Allow from 192.168.2.0/24
    </Location>

### Next, configure SOAP for your remote servers

Change configuration in lemonldap-ng.ini :

    type         = SOAP
    proxy        = https://auth.example.com/index.pl/config

You can also add some other parameters

    User         = lemonldap
    Password     = mypassword
    # LWP::UserAgent parameters
    proxyOptions = { timeout => 5 }