HostName
Summary
Sets the hostname of the machine generating the static content.
Usage
Hostname= hostname[: portnumber]
Description
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.
Examples
HostName=localhost
The server that generates the pages is available on localhost.
Contributors
- Frederik Holljen Updated
- Massimiliano Bariola Commenter
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
Beware of localhost!
Massimiliano Bariola ·
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. www.example.com in the HostName directive
NOTE: I was unable to make it work with http://www.example.com . it did work when omitting the http://
clarification
Massimiliano Bariola ·
.... so as to make it www.example.com