• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Adding -pass-header HTTP_AUTHORIZATION to vhost.conf

F

formasfunction

Guest
I'm running PHP5 on my Plesk 8.0 install as a fastcgi module and I wanted to know how to add -pass-header HTTP_AUTHORIZATION to my vhost.conf file in order to allow my PHP scripts access to HTTP authentication. Here's what my vhost.conf file looks like right now

Code:
AddHandler fcgid-script .php .php5 .xml
<Directory /var/www/vhosts/example.com/subdomains/dev/httpdocs>
        FCGIWrapper /opt/php51/cgi-bin/php5 .php
        FCGIWrapper /opt/php51/cgi-bin/php5 .php5
        FCGIWrapper /opt/php51/cgi-bin/php5 .xml
        Options ExecCGI
        allow from all
</Directory>
 
Back
Top