Sethandler in htaccess with php-fpm

Derevko

Verified User
Joined
Feb 18, 2012
Messages
46
Hi,

I've a customer that has this .htaccess:


<FilesMatch "(statistiche-mappa.js)|(statistiche-grafico.js)|(sessione.js)|(it.js)|(schede_istat.js)|(utenti.js)|(comuni.js)|(main.js)$">
SetHandler application/x-httpd-php
</FilesMatch>


This works with mod_php+mod_ruid, but doesn't work with php-fpm.

Do you know how this can work with php-fpm?
 
It doesn't work for him, because PHP-FPM handler name is not "application/x-httpd-php", please check /usr/local/directadmin/data/users/user/httpd.conf for his handler name.
 
Back
Top