Re: IIS7 404 handler/URL Rewrite...

2010-09-24 Thread Eric Roberts

Not to be pain on this, but this is something I would like to accomplish
today before I leave (last day of contract)...anyone know why the
404_handler.cfm that is specified as the 404 handler in IIS is not executing
in IIS7 like it did in IIS6?  Is there something ese that needs to be done
in 7 that we didn't need to do in 6?

Thanks!
Eric


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337457
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: IIS7 404 handler/URL Rewrite...

2010-09-24 Thread Judah McAuley

I use URL Rewriting on IIS7 but not with a 404 handler. It seems to me
that if you are rewriting in the webserver layer, why would you
rewrite to an invalid path? I just specify a regex for the rewrite
that says take everything of the form /foo/bar/monkey and rewrite it
to /index.cfm?params=foo,bar,monkey  and then have index.cfm do all my
logic to grab the appropriate content. I also do earlier exclusion
rules that makes sure that /images/* , /styles/* etc aren't rewritten
and grab content directly.

Cheers,
Judah

On Fri, Sep 24, 2010 at 6:15 AM, Eric Roberts
ow...@threeravensconsulting.com wrote:

 Not to be pain on this, but this is something I would like to accomplish
 today before I leave (last day of contract)...anyone know why the
 404_handler.cfm that is specified as the 404 handler in IIS is not executing
 in IIS7 like it did in IIS6?  Is there something ese that needs to be done
 in 7 that we didn't need to do in 6?

 Thanks!
 Eric


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337525
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: IIS7 404 handler/URL Rewrite...

2010-09-24 Thread Russ Michaels

you are going to need to create a regular expression that dynamically
generates the url's you need based on the oriignal url. If there is not
enough data in the original url to do this and you have to use the database
then your going to be out of luck I think.
Your only other options would be to generate the web.config from your
database so it has ALL possible rewrite url's in it.

On Fri, Sep 24, 2010 at 7:08 PM, Judah McAuley ju...@wiredotter.com wrote:


 I use URL Rewriting on IIS7 but not with a 404 handler. It seems to me
 that if you are rewriting in the webserver layer, why would you
 rewrite to an invalid path? I just specify a regex for the rewrite
 that says take everything of the form /foo/bar/monkey and rewrite it
 to /index.cfm?params=foo,bar,monkey  and then have index.cfm do all my
 logic to grab the appropriate content. I also do earlier exclusion
 rules that makes sure that /images/* , /styles/* etc aren't rewritten
 and grab content directly.

 Cheers,
 Judah

 On Fri, Sep 24, 2010 at 6:15 AM, Eric Roberts
 ow...@threeravensconsulting.com wrote:
 
  Not to be pain on this, but this is something I would like to accomplish
  today before I leave (last day of contract)...anyone know why the
  404_handler.cfm that is specified as the 404 handler in IIS is not
 executing
  in IIS7 like it did in IIS6?  Is there something ese that needs to be
 done
  in 7 that we didn't need to do in 6?
 
  Thanks!
  Eric
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337527
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm