I found that you can modify as following to overcome “500 - Internal Server Error”:
dir:
{
/proc / // needed by app script, and for listing running processes
/*
/bin /usr/bin
/sbin /
*/
/usr/lib /usr/
/usr/bin /usr/
/usr/include /usr/
/legato/systems/current/bin /legato/systems/current/
/legato/systems/current/lib /legato/systems/current/
/legato/systems/current/apps /legato/systems/current/
}