forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: problem with hidden pages
Date Sat, 12 Nov 2011 22:31:13 GMT
Vicent Mas wrote:
> Hi,
> 
> I'm running a dispatcher site and I'd like to add a custom '404 error'
> page to it. I've created a 404.xml file and put it in my xdocs
> directory. The page shouldn't appear in the navigation menu so in my
> site.xml I've added an entry without 'label' attribute:
> 
>     <error404 href="404.html" />
> 
> When I execute 'forrest run' the browser loads the URL
> localhost:8888/404.html with no problem. However, when I run 'forrest'
> and create a static site, the 404.html is not added to the site. Could
> someone tell me how to add a hidden page to a static site, please?
> I've googled the web with no luck.

This page explains additional documents:
http://forrest.apache.org/docs/howto/howto-asf-mirror.html

You do not need all of what is explained there, but it
does talk about "extra documents".

-David

Mime
View raw message