Fix path_info in sub directory

Fix path_info if your root app in sub directory.