[opencms-dev] Custom error pages for some sites

Robert Petermeier robert2.0 at gmx.de
Fri May 19 12:59:10 CEST 2006


Pavel Peringer schrieb:
> I would like to have custom error pages for each site. These pages are 
> located in site module dir "/system/modules/[site_name]/error-pages". In 
> handle404.html I would like to recognize the site an error comes from 
> and include page from corresponding errorpages dir. But I can not find 
> out which site error comes from because the is no info in request about 
> it. Only the missing requested file in "site format" - /any_file without 
> "context" - the original site.

I think you can retrieve the original HTTP request sent by the client. 
Search the archive (which seems to be down right now) for Sebastian 
Himberger's post in a thread "Detecting URL in browser location bar?".


Bye,
Robert



More information about the opencms-dev mailing list