Update of detect and apache to use correct document root for Labor Sync