Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Found the problem and solved the case in this way.
- The problem is not releted to Prestashop or prestapyt but relative to the server configuration (Apache + PHP).
- Considering that in my case I'm working in a managed cloud service, I don't have in depth information about that.
- But the result of this configuration is that the Authorization header does not appear in the $_SERVER variable. The same behavior reported here:
- Why are $_SERVER[“PHP_AUTH_USER”] and $_SERVER[“PHP_AUTH_PW”] not set?
- I solved adding this statement to the .htaccess file in my Prestashop installation:
- SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
- As suggested here.
- I hope to help others Prestashop users that incur in the same problem.
Advertisement
Add Comment
Please, Sign In to add comment