use PATH_INFO when possible