• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Pass the http header AUTHORIZATION to php scripts (fcgi)

Thomas Becker

Basic Pleskian
Hello,
I need to pass the http header "AUTHORIZATION" to php scripts because I need to do some CRUD operations from external. I'm using Plesk 10, PHP 5.3.10 and fcgi.

How is this possible with the Plesk fcgi implementation?

Adding
FcgidPassHeader AUTHORIZATION
and
FcgidPassHeader HTTP_AUTHORIZATION
to /etc/httpd/conf.d/fcgid.conf seems not to work.

Thanks for help.
 
Got it.
FcgidPassHeader AUTHORIZATION
in /etc/httpd/conf.d/fcgid.conf is working.
The problem was in the php script that I used for testing.
 
Back
Top