by eVolpe Consulting Group

Are you facing difficulties trying to coordinate efforts between marketing and sales? The Sugar/SuiteCRM & Mautic Integrator by eVolpe is the best solution that will help you solve this issue. TRY IT NOW FOR FREE!

Free Trial

By clicking you consent to be contacted by the developer

SugarCRM Mautic Authorization Issues

Problem: I am stuck on Configuration Guide / SugarCRM Plugin / Step 2: Connector configuration. Once I have entered all information and tried to click the "LINK" I get 404 error.

Probable Explanation: There is an incorrect server configuration regarding Rewrite Rules and HTTP referer RESOLUTIONS (for Linux Servers):

For Ubuntu / Debian - check rewrite enabled:


    apache2ctl -M | grep rewrite

If it returns:

    rewrite_module (shared)

go to next point, otherwise type:

    a2enmod rewrite

Output should be:

    Enabling module rewrite.

To activate the new configuration, you need to run:

    service apache2 restart

Output should be:

    * Restarting Apache httpd web server apache2     [ OK ]
  • Check if is set AllowOverride All for directory contains CRM and Mautic instances (e.g. /var/www/):** file: /etc/apache2/apache2.conf

            Options Indexes FollowSymLinks
            AllowOverride All
            Require all granted

  • After CRM package installation, check if RewriteRule for Mautic get_token URL in .htaccess is set** file: < CRM_instance_directory >/.htaccess

        Options +FollowSymLinks
        RewriteEngine On
        RewriteRule ^mautic/get_token index.php?entryPoint=MauticGetToken [L,QSA]

  • Add Mautic URL and actions to whitelist in CRM config:** file: /config_override.php
    $sugar_config['http_referer']['list'][] = '';
    $sugar_config['http_referer']['actions'] = array( 'index', 'ListView', 'DetailView', 'EditView', 'oauth', 'authorize', 'Authenticate', 'Login', 'SupportPortal', 'UpgradeWizard' );
Saving Comment Saving Comment...
  • "This works brilliantly! It is exactly what we were looking for."

    Read More Reviews