Removed vim swp files
Enhanced Request URI detection

If the DOCUMENT_ROOT has a final /, the URI detection fails at cutting the prefix.