• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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