/URIPATH/TARGETURI/g
use normalize_uri()