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 |