[opencms-dev] Error Page and Multisite

Marcus Popetz marcus at roundpeg.com
Fri Jan 12 15:18:20 CET 2007


On 1/12/07, Peter korn <peterkorn at gmx.net> wrote:
> i have two different Sites in one OpenCms. Now i want different errorpages (for 404) for the Sites.
>
> I only see that in the web.xml one errorpage is configured. Is there a easy way to >configure one Errorpage for each Site in Opencms?


Not sure about configuring two in opencms, but you could throw a check
in the error page to see what domain name was being hit and redirect
to your own error page based on that.

-mp



More information about the opencms-dev mailing list