• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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