Verify that the index "extension" is available in variable $pathInfo