You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Christian Cioni <ch...@staff.aruba.it> on 2017/12/07 12:44:38 UTC
[users@httpd] Apache + PHPCGI
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