![]() |
| Custom 404 error page with ColdFusion |
|
jamie
HostMySite Sales Rep
![]()
|
I've setup a custom 404 page for my site here:
http://www.mtgotradingpost.com/404.cfm which works well. However when testing it: http://www.mtgotradingpost.com/blah.cfm note the header and footer are gone. The code for this looks like this:
Note I tried two different ways to get this working in the code. Now, where are my includes? |
||||||||||||||
|
|
|||||||||||||||
|
Alan
HostMySite Marketing
|
Jamie,
It should be working for you now. When configuring a custom error page that will be processing ColdFusion code you need to set the type to URL and not file. |
||||||||||||
|
|
|||||||||||||
|
jamie
HostMySite Sales Rep
![]()
|
Alan,
Your tech support rocks! I'm going to tell all my friends about you! |
||||||||||||
|
|
|||||||||||||
|
loftboy
Forum Regular
|
that shouldnt take long LOL jk
|
||||||||||||
|
|
|||||||||||||
|
nolandubeau
|
Hi,
I am having the same problem, but I didn't understand this... and how to set the "type".... When configuring a custom error page that will be processing ColdFusion code you need to set the type to URL and not file Can you please explain? Thx. |
||||||||||||
|
|
|||||||||||||
|
Alan
HostMySite Marketing
|
Error pages have three types: Default, File, URL.
Default will load the standard error page provided by Microsoft. File is used for static html pages or pages that have no scripting in them. URL is used for dynamic pages or pages that have scripting (ASP, .NET, ColdFusion, etc). If you configure the custom error through our Control Panel, you can set the type to URL. Instructions for configuring a custom error through our Control Panel can be found at http://hostmysite.com/support/cpanel/customerror/ Or, if you prefer, you can contact our support staff and we can configure this for you. |
||||||||||||
|
|
|||||||||||||
| Custom 404 error page with ColdFusion |
|
||
|



