Fix APPLICATION_DIRECTORY to use Web server path