• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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