Replace PHP_SELF with REQUEST_URI