using native rack to detect PATH_INFO

using rack to detect PATH_INFO