Name

PKIT_HOSTNAME — Fills in the hostname in the URL.

Synopsis

       <PKIT_HOSTNAME>
      

DESCRIPTION

Returns the hostname in the URL of the page being served. Particulary useful when you have production and development servers and you need to link to a secure page.

Note that if you are running a proxy server in front of the PageKit server, you probably want to use mod_proxy_add_uri.c. PageKit will extract the hostname from the frontend server using the X-Original-URI header that mod_proxy_add_uri sets.