site wide missing template in cluster fails

View: New views
4 Messages — Rating Filter:   Alert me  

site wide missing template in cluster fails

by Wally Randall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


We have just implemented site-wide error handling and missing templates on our CF8 webfarm.  The 4 servers are controlled by an F5 server for clustering.  When accessed via their normal domain names the site-wide templates are NOT delivered.  When accessed with the real server name the templates are delivered.

Example:

1.  http://mysite.mydomain/missing.cfm  will return the normal CF missing template dump.
2.  http://myservername/mysite.mydomain/missing.cfm  returns the desired CF missing template form.

The same issue occurs with the site-wide error template defined on these servers.






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

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6808
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: site wide missing template in cluster fails

by Wally Randall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I forgot to mention that we are running on IIS6.

> We have just implemented site-wide error handling and missing
> templates on our CF8 webfarm.  The 4 servers are controlled by an F5
> server for clustering.  When accessed via their normal domain names
> the site-wide templates are NOT delivered.  When accessed with the
> real server name the templates are delivered.
>
> Example:
>
> 1.  http://mysite.mydomain/missing.cfm  will return the normal CF
> missing template dump.
> 2.  http://myservername/mysite.mydomain/missing.cfm  returns the
> desired CF missing template form.
>
> The same issue occurs with the site-wide error template defined on
> these servers.
>
>
>
>


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

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6809
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: site wide missing template in cluster fails

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Create a mapping and reference the missing template and error handlers
from that mapping.

e.g. map c:\somefolder\wherever\handlers\ to /handlers and use
/handlers/mymissingtemplatehandler.cfm in the settings in the CF
Admin.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


2009/5/1 Wally Randall <wally.randall@...>:

>
> I forgot to mention that we are running on IIS6.
>
>> We have just implemented site-wide error handling and missing
>> templates on our CF8 webfarm.  The 4 servers are controlled by an F5
>> server for clustering.  When accessed via their normal domain names
>> the site-wide templates are NOT delivered.  When accessed with the
>> real server name the templates are delivered.
>>
>> Example:
>>
>> 1.  http://mysite.mydomain/missing.cfm  will return the normal CF
>> missing template dump.
>> 2.  http://myservername/mysite.mydomain/missing.cfm  returns the
>> desired CF missing template form.
>>
>> The same issue occurs with the site-wide error template defined on
>> these s

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

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6810
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: site wide missing template in cluster fails

by Wally Randall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Great, that was the solution.  

>Create a mapping and reference the missing template and error handlers
>from that mapping.
>
>e.g. map c:\somefolder\wherever\handlers\ to /handlers and use
>/handlers/mymissingtemplatehandler.cfm in the settings in the CF
>Admin.
>
>mxAjax / CFAjax docs and other useful articles:
>http://www.bifrost.com.au/blog/
>>> these s

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

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6815
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10