<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ColdCourse Updated for Nicer URLs Regardless of Hosting</title>
	<atom:link href="http://adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/</link>
	<description>Rants on technology, Ruby on Rails, Javascript and UI Design by Adam Fortuna</description>
	<lastBuildDate>Tue, 20 Apr 2010 08:57:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Robb</title>
		<link>http://adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25220</link>
		<dc:creator>Robb</dc:creator>
		<pubDate>Sat, 04 Aug 2007 15:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25220</guid>
		<description>Installed IIRF (Ionics rewriter) using your included isapi.ini file and everything works great! Just a note to other MG:U users, event handlers must be consistent as stated in the readme file; &quot;page.index&quot; works but the next event handler can not be &quot;about&quot;, it MUST be &quot;page.about&quot; referenced in the URL as http://localhost/page/about.

Thanks Adam for a great tool!</description>
		<content:encoded><![CDATA[<p>Installed IIRF (Ionics rewriter) using your included isapi.ini file and everything works great! Just a note to other MG:U users, event handlers must be consistent as stated in the readme file; &#8220;page.index&#8221; works but the next event handler can not be &#8220;about&#8221;, it MUST be &#8220;page.about&#8221; referenced in the URL as <a href="http://localhost/page/about" rel="nofollow">http://localhost/page/about</a>.</p>
<p>Thanks Adam for a great tool!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robb</title>
		<link>http://adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25056</link>
		<dc:creator>Robb</dc:creator>
		<pubDate>Fri, 03 Aug 2007 22:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25056</guid>
		<description>Adam,

I am running on IIs. Dumping the URL scope gives me:

EVENT  	 index.cfm.</description>
		<content:encoded><![CDATA[<p>Adam,</p>
<p>I am running on IIs. Dumping the URL scope gives me:</p>
<p>EVENT  	 index.cfm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Fortuna</title>
		<link>http://adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25033</link>
		<dc:creator>Adam Fortuna</dc:creator>
		<pubDate>Fri, 03 Aug 2007 21:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25033</guid>
		<description>@Robb
What server are you running it on? If you&#039;re trying to routes in the 
http://localhost/index.cfm/home/main
form, then you&#039;ll need to remove all other routing with .htaccess/isapi filters, as that&#039;s using base ColdFusion for the routing.

If you&#039;re using those and have index.cfm in the BaseURL i think it will fail though, because apache/iis will convert htp://localhost/index.cfm into http://localhost/?event=index.cfm if I&#039;m not mistaken, which will mess things up before it gets to coldcourse.

Shouldn&#039;t worry about the onrequest start or anything within MG though. By the time it gets to MG all ColdCourse processing is done and the event should be set as a URL variable. I&#039;d try making a onrequeststart function and dumping the URL scope to see what coldcourse is setting, then tweaking the CC settings to make it what you need. 

I have a few things planned for CC including some more examples and documentation, but think that&#039;ll be at least two weeks away at this point. I&#039;ll make sure to add a MG example to the list though.</description>
		<content:encoded><![CDATA[<p>@Robb<br />
What server are you running it on? If you&#8217;re trying to routes in the<br />
<a href="http://localhost/index.cfm/home/main" rel="nofollow">http://localhost/index.cfm/home/main</a><br />
form, then you&#8217;ll need to remove all other routing with .htaccess/isapi filters, as that&#8217;s using base ColdFusion for the routing.</p>
<p>If you&#8217;re using those and have index.cfm in the BaseURL i think it will fail though, because apache/iis will convert htp://localhost/index.cfm into <a href="http://localhost/?event=index.cfm" rel="nofollow">http://localhost/?event=index.cfm</a> if I&#8217;m not mistaken, which will mess things up before it gets to coldcourse.</p>
<p>Shouldn&#8217;t worry about the onrequest start or anything within MG though. By the time it gets to MG all ColdCourse processing is done and the event should be set as a URL variable. I&#8217;d try making a onrequeststart function and dumping the URL scope to see what coldcourse is setting, then tweaking the CC settings to make it what you need. </p>
<p>I have a few things planned for CC including some more examples and documentation, but think that&#8217;ll be at least two weeks away at this point. I&#8217;ll make sure to add a MG example to the list though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robb</title>
		<link>http://adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25030</link>
		<dc:creator>Robb</dc:creator>
		<pubDate>Fri, 03 Aug 2007 20:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-25030</guid>
		<description>I am getting a Model-Glue: There is no known event handler for &quot;index.cfm.&quot; error in an existing mg:u application.

http://localhost/index.cfm is the &quot;home&quot; URL

setUniqueURLs = false
setBaseURL(&quot;http://localhost/index.cfm&quot;)

in my onrequeststart function in my controller I am setting myself value = &quot;&quot; 

I don&#039;t understand how/why index.cfm is an &quot;event handler&quot; as the &quot;home&quot; event handler is home which then does page.index. I have tried to change the value and add an event handler called index.cfm but I can&#039;t seem to get Coldcourse to work. Do you have any suggestions as there is not a lot of MG:U examples with Coldcourse.

Thanks

Thanks</description>
		<content:encoded><![CDATA[<p>I am getting a Model-Glue: There is no known event handler for &#8220;index.cfm.&#8221; error in an existing mg:u application.</p>
<p><a href="http://localhost/index.cfm" rel="nofollow">http://localhost/index.cfm</a> is the &#8220;home&#8221; URL</p>
<p>setUniqueURLs = false<br />
setBaseURL(&#8220;http://localhost/index.cfm&#8221;)</p>
<p>in my onrequeststart function in my controller I am setting myself value = &#8220;&#8221; </p>
<p>I don&#8217;t understand how/why index.cfm is an &#8220;event handler&#8221; as the &#8220;home&#8221; event handler is home which then does page.index. I have tried to change the value and add an event handler called index.cfm but I can&#8217;t seem to get Coldcourse to work. Do you have any suggestions as there is not a lot of MG:U examples with Coldcourse.</p>
<p>Thanks</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Blackwell</title>
		<link>http://adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-24103</link>
		<dc:creator>Chris Blackwell</dc:creator>
		<pubDate>Tue, 31 Jul 2007 09:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamfortuna.com/2007/06/06/coldcourse-updated-for-nicer-urls-regardless-of-hosting/#comment-24103</guid>
		<description>Just spent a couple of days trying to get the rewrite rules to work, tried to be clever and put them directly in the VirtualHost directive which doesn&#039;t work.  Eventually tried AllowOveride All and just used the a .htaccess file and all works straight away!

I&#039;m not sure why .htaccess works but the same rules in the httpd.conf won&#039;t but i thought it was worth a mention incase anyone else ran into this problem.</description>
		<content:encoded><![CDATA[<p>Just spent a couple of days trying to get the rewrite rules to work, tried to be clever and put them directly in the VirtualHost directive which doesn&#8217;t work.  Eventually tried AllowOveride All and just used the a .htaccess file and all works straight away!</p>
<p>I&#8217;m not sure why .htaccess works but the same rules in the httpd.conf won&#8217;t but i thought it was worth a mention incase anyone else ran into this problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
