Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.



Sets the hostname of the machine generating the static content.



Hostname= hostname[: portnumber]


HostName sets the host of the server that serves the uncached pages. The static cache feature uses this to retrieve the generated content if there is no cache available.



The server that generates the pages is available on localhost.

Frederik Holljen (04/05/2005 10:44 am)

Frederik Holljen (04/05/2005 11:04 am)


  • Beware of localhost!

    the static cache generator uses the content tree to request all the pages connected to the nodes which it contains. It works by simulating a "browser" which makes the requests as an anonymous user. so, localhost might not work for you. you have to specify your host name. e.g. in the HostName directive

    NOTE: I was unable to make it work with . it did work when omitting the http://
  • clarification

    .... so as to make it