<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://coldfusion.dzone.com"  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dz="http://www.developerzone.com/modules/dz/1.0">
<channel>
 <title>ColdFusion Zone - Comments for &quot;Closing The 404 Gap For Dynamic Page Generation With onMissingTemplate()&quot;</title>
 <link>http://coldfusion.dzone.com/news/closing-404-gap-dynamic-page-g</link>
 <description>Comments for &quot;Closing The 404 Gap For Dynamic Page Generation With onMissingTemplate()&quot;</description>
 <language>en</language>
<item>
 <title>Boyan, all good points. That</title>
 <link>http://coldfusion.dzone.com/news/closing-404-gap-dynamic-page-g#comment-1817</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Boyan, all good points. That said, in some shared hosting environments, people are given the ability to specify custom error pages, but not much else in terms of server config. In that case, running an ISAPI filter may not be an option.&lt;/p&gt;&lt;p&gt;I did assume port 80, but 99 times out of 100, your website will be hit on port 80, and if not, it&#039;s easy enough to know that and to account for it, as you pointed out. &lt;/p&gt;&lt;p&gt;ColdFusion supports regular expressions, so that argument doesn&#039;t hold much water. In fact, I would argue that a custom ColdFusion 404 error handling script could be more powerful because of all of the options available to you when writing a CF script. You could log, email, and even send yourself an IM or text message if there are errors - none of which you have direct control over with mod_rewrite or an IIS ISAPI filter (to the best of my knowledge).&lt;/p&gt;&lt;p&gt;In the end, I think there are multiple ways to skin this cat -- none of them really wrong. It&#039;s all about personal preference.&lt;/p&gt;</description>
 <pubDate>Thu, 13 Mar 2008 11:03:02 -0400</pubDate>
 <dc:creator>atuttle</dc:creator>
 <guid isPermaLink="false">comment 1817 at http://coldfusion.dzone.com</guid>
</item>
<item>
 <title>Adam, a few reasons:It is</title>
 <link>http://coldfusion.dzone.com/news/closing-404-gap-dynamic-page-g#comment-1816</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Adam, a few reasons:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;It is language independant. I don&#039;t think that needs any more details.&lt;/li&gt;&lt;li&gt;It is faster since it hooks right into the web server through a module or dll.&lt;/li&gt;&lt;li&gt;It is easier to manage and maintain. All you have to do to extend and/or change things is edit the .htaccess file (Apache) or the .ini file (IIS) &lt;/li&gt;&lt;li&gt;It is more powerful since it supports regular expression. &lt;/li&gt;&lt;/ol&gt;</description>
 <pubDate>Thu, 13 Mar 2008 10:45:56 -0400</pubDate>
 <dc:creator>boyan</dc:creator>
 <guid isPermaLink="false">comment 1816 at http://coldfusion.dzone.com</guid>
</item>
<item>
 <title>Boyan, I don&#039;t entirely</title>
 <link>http://coldfusion.dzone.com/news/closing-404-gap-dynamic-page-g#comment-1815</link>
 <description>&lt;!--paging_filter--&gt;Boyan, I don&#039;t entirely disagree with you, but can you explain why URL rewriting is a better solution?</description>
 <pubDate>Thu, 13 Mar 2008 10:35:38 -0400</pubDate>
 <dc:creator>atuttle</dc:creator>
 <guid isPermaLink="false">comment 1815 at http://coldfusion.dzone.com</guid>
</item>
<item>
 <title>Neat ColdFusion based</title>
 <link>http://coldfusion.dzone.com/news/closing-404-gap-dynamic-page-g#comment-1813</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Neat ColdFusion based solution. However, here are a couple of points to consider:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Your error handler assumes port 80 and probably should pick the port from the CGI scope&lt;/li&gt;&lt;li&gt;Since you have to edit the server config anyway, a better solution would be to use mod_rewrite (for Apache) or &lt;a href=&quot;http://blog.tech-cats.com/2007/01/rewriting-urls-in-iis-with-ionics-isapi.html&quot;&gt;Ionic&#039;s ISAPI rewrite&lt;/a&gt; (for IIS) &lt;/li&gt;&lt;/ol&gt;</description>
 <pubDate>Thu, 13 Mar 2008 10:11:17 -0400</pubDate>
 <dc:creator>boyan</dc:creator>
 <guid isPermaLink="false">comment 1813 at http://coldfusion.dzone.com</guid>
</item>
</channel>
</rss>
