Phill B wrote:
> Hmmmm. This is what I have. CF 404 file located in c:/web/cfm404/404.cfm and
> mapped to all the sites via IIS. It is mapped as /404/404.cfm I have that
> set to be the 404 URL in IIS as well.
>
> So maybe this is causing the problem of it running outside of the
> applications it is mapped to?

Yes, I presume your application is not in any of these directories [c:/ 
OR c:/web OR c:/web/cfm404/].  Applications are defined on file system 
directories.  Web server virtual mapped directories do not append this. 

This is probably not a practical solution, but it should demonstrate the 
conecept.  Put your 404.cfm inside your application directory, with the 
appropriate IIS configuration, underneath the Application.cfc or 
Application.cfm file that defines the application name.  If you do this, 
the template should have access to that applications variables.

Obviously this it not a very global or useful solution, but it is just 
for demonstration purposes.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302444
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to