Wow. Thanks Russ. That wasn't exactly what was wrong, but you put the
solution right in front of me. :)
(I guess now would be a good time to mention that this is actually a
Railo/Tomcat/IIS install? Oops...forgot that in my original post.)
In the Tomcat web.xml file there was a section for servlet mappings.
Among the entries there, I found this:
<servlet-mapping>
<servlet-name>GlobalCFMLServlet</servlet-name>
<url-pattern>/index.cfm/*</url-pattern>
</servlet-mapping>
So, I said to myself, "Hey, that looks like it wants to process a
cgi.path_info variable. I wonder what happens if I add an entry like
that for page.cfm?" Once I did that and bounced Tomcat, it all worked
correctly. So, thank you for helping me find the answer. I didn't
realize this was a Tomcat issue, I would have sworn up and down that the
error I was getting was from IIS. Oh well, seems like I've got some
Tomcat/IIS issues to figure out. I'll pester the Railo list of that. :)
Thanks,
Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com
Russ Michaels wrote:
> Sounds like you have a similar problem to this
> http://russ.michaels.me.uk/index.cfm?mode=search
>
> The same solution may fix your CF problem as well.
>
> Russ
>
> -----Original Message-----
> From: Scott Stewart [mailto:[email protected]]
> Sent: 24 November 2010 14:04
> To: cf-talk
> Subject: Re: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info
>
>
> I think the way that BlogCFC handles seo friendly URls involves
> /index.cfm/..
>
> You'd have to ask Ray about the details
>
> On Wed, Nov 24, 2010 at 8:56 AM, Eric Cobb <[email protected]> wrote:
>
>> I just moved my blog over to a new server (Winders 2008). So far all
>> of it seems to be working correctly, except for one page, and I can't
>> figure out what IIS is doing. I'm hoping someone here has run across
>> this or has enough experience with IIS 7 to tell me where to look.
>>
>> For whatever reason, IIS seems to be ignoring the cgi.path_info for my
>> "about" page and process it as a directory. So, for
>> http://www.cfgears.com/page.cfm/About it's trying to find an About
>> directory and throwing a 404 instead processing page.cfm with "About"
>> as a cgi.path_info. The funny thing is, all of the other pages on the
>> site use this exact same url format without any problems. For
>> example, http://www.cfgears.com/index.cfm/CFML works correctly.
>>
>> The only difference in the 2 urls is that one calls index.cfm and the
>> other calls page.cfm. All index.cfm calls work, and all page.cfm
>> calls break. I know that page.cfm is there, I put in a Hey!<abort> at
>> the top of it and you can pull it up in the url
>> (http://www.cfgears.com/page.cfm), but
>> http://www.cfgears.com/page.cfm/About still throws a 404.
>>
>> So, what gives? What is it about this page that IIS doesn't want to
>> process cgi.path_info correctly?
>>
>> --
>>
>> Thanks,
>>
>> Eric Cobb
>> ECAR Technologies, LLC
>> http://www.ecartech.com
>> http://www.cfgears.com
>>
>>
>>
>>
>>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339501
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm