• 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.

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