Handles URL generation without PATH_INFO.