changing urls if serviced on PHP CLI SAPI