RE: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Russ Michaels

Glad you solved it, it will nearly always be tomcat as IIS just passes over
the request.
You will find a recent  post RE a  Railo/ tomcat fix for default documents
on my blog too which might help in case u come across the same issue.

Russ

-Original Message-
From: Eric Cobb [mailto:cft...@ecartech.com] 
Sent: 24 November 2010 15:16
To: cf-talk
Subject: Re: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info


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:


GlobalCFMLServlet
/index.cfm/*


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:webmas...@sstwebworks.com]
> 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  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! 
>> 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:339504
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Eric Cobb

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:


GlobalCFMLServlet
/index.cfm/*


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:webmas...@sstwebworks.com] 
> 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  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! 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


Re: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Raymond Camden

Hmm. Both make use of cgi.path_info - although they do slightly
different things with the data after.

Question - if you make page.cfm a home page (like index.cfm and
default.cfm etc) does it react differently?


On Wed, Nov 24, 2010 at 7:56 AM, Eric Cobb  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! 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:339500
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Russ Michaels

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:webmas...@sstwebworks.com] 
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  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! 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:339499
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Scott Stewart

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  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! 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:339495
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(OT) IIS 7 Wonkiness with BlogCFC and cgi.path_info

2010-11-24 Thread Eric Cobb

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! 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:339494
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm