Apache + PHPCGI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

on my configuration, php work as cgi called through mod_action:

 

<Directory "/php-wrapper">

    AllowOverride none

    Require all granted

</Directory>

 

ScriptAlias /local-bin /php-wrapper

 

<Directory "/website/${DOMAINNAME}/">

    Options -Indexes +MultiViews +IncludesNOEXEC -FollowSymLinks +SymLinksIfOwnerMatch +ExecCGI

    AllowOverride All Nonfatal=All

    Require all granted

 

    AddHandler cgi-handler .php

    Action cgi-handler /local-bin/php-cgi

</Directory>

 

When set on my .htaccess a custom headers and execute the php request, the directive is ignored because the process search the fine .htaccess on "/php-wrapper” folder and ignored the file

on website directory.

Have you ever had this problem? Do you have any ideas?

               

Best Regards

 

Christian


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux