2017 © Pedro Peláez
 

magento2-module magento2-byteapifix

Module to fix the missing Authorization header under PHP in CGI mode.

image

activeants/magento2-byteapifix

Module to fix the missing Authorization header under PHP in CGI mode.

  • Friday, March 17, 2017
  • by ActiveAnts
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Active Ants

Magento 2 Byte Api Fix

An extension to fix the use of the Magento2 API's under Byte hosting (https://www.byte.nl/kennisbank/item/php_cgi_modus)., (*1)

Motivation

On of our webshops is hosted at Byte (https://byte.nl). Byte uses PHP under CGI mode. Authentication (Basic, Digest etc.) will not work out of the box and we wanted that to work without hacks., (*2)

Technical feature

This extension uses a plugin (http://devdocs.magento.com/guides/v2.0/extension-dev-guide/plugins.html) to access the REDIRECT_* variables from the environment variables as header variables., (*3)

Installation

composer require activeants/magento2-byteapifix
php bin/magento module:enable ActiveAnts_ByteApiFix
php bin/magento setup:upgrade

Modify the following rule in the .htaccess file:, (*4)

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

to, (*5)

RewriteRule .* - [E=BYTE_AUTHORIZATION:%{HTTP:Authorization}]

Issues

Feel free to report any issues for this project using the integrated Bitbucket issue tracker, we will try to get back to issues as fast as possible., (*6)

License

The Byte Api Fix is free software, and is released under the terms of the OSL 3.0 license. See LICENSE.md for more information., (*7)

Credits

Active Ants provides e-commerce efulfilment services for webshops. We store products, pick, pack and ship them. But we do much more. With unique efulfilment solutions we make our clients, the webshops, more successful., (*8)

~ The Active Ants software development team., (*9)

The Versions

17/03 2017

dev-master

9999999-dev https://www.activeants.nl

Module to fix the missing Authorization header under PHP in CGI mode.

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php >5.5.0

 

cgi byte magento2 phpcgi activeants

17/03 2017

1.0.0

1.0.0.0 https://www.activeants.nl

Module to fix the missing Authorization header under PHP in CGI mode.

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php >5.5.0

 

cgi byte magento2 phpcgi activeants