[opencms-dev] How is handle404 related to static export?

Nigel Kersten nigel at cofa.unsw.edu.au
Wed Nov 30 08:54:52 CET 2005


On 30/11/2005, at 6:28 PM, Stephan Hartmann wrote:

> OpenCms handles static export on demand by default. In this  
> configuration,
> if a requested resource does not exist in the real file system of  
> apache
> (the rewrite condition checks this) it becomes forwarded to the 404
> handler of OpenCms which checks if a resource for the request  
> exists and
> exports it if possible (i.e. images, static html pages and dynamic
> resources where static export is set to true and cache parameters are
> configured properly). For subsequent requests the resource exists  
> in the
> real file system and apache can serve it directly.

ahah! I didn't realise it was the 404 handler that checks whether the  
resource needs to be exported.

Excellent. Now I understand, and it makes a lot more sense.

Thank you.

-- 
Nigel Kersten [Senior Technical Officer]
College of Fine Arts, University of NSW, Australia.
CRICOS Provider Code: 00098G


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051130/a4aa0702/attachment.html>


More information about the opencms-dev mailing list