1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Pass the http header AUTHORIZATION to php scripts (fcgi)

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Thomas Becker, May 3, 2012.

  1. Thomas Becker

    Thomas Becker Basic Pleskian

    22
     
    Joined:
    Sep 11, 2009
    Messages:
    81
    Likes Received:
    0
    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.
     
  2. Thomas Becker

    Thomas Becker Basic Pleskian

    22
     
    Joined:
    Sep 11, 2009
    Messages:
    81
    Likes Received:
    0
    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.
     
Loading...