Use the last uri from apache