Appendix D: CPL Substitutions
291
cs-uri-hostname log_url.hostname Hostname from the 'log' URL. RDNS is used
if the URL uses an IP address.
cs-uri-path log_url.path Path from the 'log' URL. Does not include
query.
cs-uri-pathquery log_url.pathquery Path and query from the 'log' URL.
cs-uri-port log_url.port Port from the 'log' URL.
cs-uri-query log_url.query Query from the 'log' URL.
cs-uri-scheme log_url.scheme Scheme from the 'log' URL.
cs-uri-stem Stem from the 'log' URL. The stem includes
everything up to the end of path, but does
not include the query.
c-uri url The original URL requested.
c-uri-address url.address IP address from the original URL requested.
DNS is used if the URL is expressed as a
hostname.
c-uri-cookie-domain url.cookie_domain The cookie domain of the original URL
requested
c-uri-extension url.extension Document extension from the original URL
requested
c-uri-host url.host Hostname from the original URL requested
c-uri-hostname url.hostname Hostname from the original URL requested.
RDNS is used if the URL is expressed as an IP
address
c-uri-path url.path Path of the original URL requested without
query.
c-uri-pathquery url.pathquery Path and query of the original URL requested
c-uri-port url.port Port from the original URL requested
c-uri-query url.query Query from the original URL requested
c-uri-scheme url.scheme Scheme of the original URL requested
c-uri-stem Stem of the original URL requested
sr-uri server_url URL of the upstream request
sr-uri-address server_url.address IP address from the URL used in the
upstream request. DNS is used if the URL is
expressed as a hostname.
sr-uri-extension server_url.extension Document extension from the URL used in
the upstream request
sr-uri-host server_url.host Hostname from the URL used in the
upstream request
sr-uri-hostname server_url.hostname Hostname from the URL used in the
upstream request. RDNS is used if the URL is
expressed as an IP address.
sr-uri-path server_url.path Path from the upstream request URL
sr-uri-pathquery server_url.pathquery Path and query from the upstream request
URL
sr-uri-port server_url.port Port from the URL used in the upstream
request.