Hello Nigel<br><br>All you can do (as what I have found out) is create 1 404 page in /JAKARTA/webapps/ROOT/ and inside the 404 page a switch between the different sites.<br>If you come up with any other solution, I would love to hear that from you.
<br><br>Code:<br>String serverHost = request.getServerName();<br>            <br>if(serverHost.equals("HOST1")) {    // like <a href="http://www.unsw.edu.au">www.unsw.edu.au</a><br>    // code 1<br>} else if (serverHost.equals
("HOST2")) {    // like <a href="http://cofa.unsw.edu.au">cofa.unsw.edu.au</a><br>    // code 2<br>} ...<br><br>Best wisches and regards<br>Corsin Camichel<br><br><div><span class="gmail_quote">On 7/3/06, <b class="gmail_sendername">
Nigel Kersten</b> <<a href="mailto:nigel@cofa.unsw.edu.au">nigel@cofa.unsw.edu.au</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm wondering how we can actually define our 404 pages to be within<br>the site itself? or at least on a per-site basis, rather than having<br>one global 404 page for the entire OpenCMS server.<br><br>Does anyone know if this is possible without writing conditional code
<br>within the same page?<br><br>--<br>Nigel Kersten [Senior Technical Officer]<br>College of Fine Arts, University of NSW, Australia.<br>CRICOS Provider Code: 00098G<br><br><br><br><br>_______________________________________________
<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Corsin Camichel<br><a href="mailto:cocaman@gmail.com">cocaman@gmail.com</a>