Adding custom lsapi php handler with proper mime support

#1
HI,
I have the following php handler setup with a custom name "my-apps"
extProcessor my-apps{
type lsapi
address uds://run/openlitespeed/lsphp-my-apps.sock
path /usr/local/php/bin/lsphp
autoStart 1
}
scriptHandler{
add lsapi:my-apps php
}
addMIMEType application/x-httpd-my-apps php


Now I get the following error on vhost configuration

scripthandler:add] Invalid External app type:[laspi

The php is working fine on the server. It looks like the mime type is not recognized by the server. I tried adding to to mime.properties still no luck
Am I missing something
 
Top