• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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