Adapt index.php where it is not at the documet root
Adapt if there are an application root uri