.htaccass fixed problem with files in subfolders
moved /factory to /backend/php/factory fixed #7