View Categories

.htaccess Configuration Issue

1 min read

The “.htaccess configuration issue” error appears when your server configuration blocks or removes the HTTP Authorization header, or when custom rules restrict external requests to your site. The module relies on this header to communicate securely with M2E Cloud, so if it is missing or filtered out, the connection cannot be established.

To fix this issue, update your .htaccess file so the header is passed correctly and external API requests are allowed.

Step 1. Update your .htaccess file #

  1. Locate the .htaccess file in the root folder of your PrestaShop installation.
  2. Open the file for editing.
  3. Add the following line at the end of the file:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

This rule ensures the Authorization header is forwarded to the application and not blocked by server settings.

  1. Save the file and upload it back to your server if edited locally.

Step 2. Restart the M2E module #

After updating your .htaccess file:

  1. Go to Modules > Module Manager in your PrestaShop admin panel.
  2. Find the M2E module.
  3. Click Disable, then Enable to reinstall the module.
Restart M2E Multichannel Connect module in PrestaShop

You should now be able to complete the connection and use the module without interruption.

Leave a comment

Your email address will not be published. Required fields are marked *