The location of the default web root depends on how you're set up.  For
instance, on Jboss, it's located in the file WEB-INF/jboss-web.xml.  If
you're running Jrun, it's in WEB-INF/jrun-web.xml.  However, the error
handlers are located in the WEB-INF/web.xml file.  You need to add an
<error-page> attribute after all of your servlet mappings. 

Here's an example....

<error-page>
        <error-code>403;14</error-code>
        <location>/index.cfm?site=lost</location>
</error-page>

> -----Original Message-----
> From: Matt Robertson [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 11, 2005 1:15 PM
> To: CF-Talk
> Subject: Where is the web root stored?
> 
> There's an xml file that stores where the default web root is, right?
> 
> I need to install a site-wide error handler and I'm 
> confronted with a server admin who doesn't seem to know where 
> that is.  I know there's a way to pull it out but I haven't 
> found it offhand.
> 
> --
> --mattRobertson--
> Janitor, MSB Web Systems
> mysecretbase.com
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211568
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to