Re: 404

2015-03-05 Thread Dave Watts

 In IIS, the handler for *.cfm is:

 C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll

 Does that look right...?

Yes.

 Could this be a permissions issue...?

Are you able to run any CF pages? If so, probably not.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

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


Re: 404

2015-03-05 Thread John M Bliss

I think it did. Then I deleted it. Genius.

On Thu, Mar 5, 2015 at 3:54 PM, Dave Watts dwa...@figleaf.com wrote:


  Found it, I think: I was missing the IIS virtual directory /jakarta
 mapped
  to C:\ColdFusion10\config\wsconfig\1
 
  Does that look right?

 Yes, you will need that. The web server configuration tool should have
 created that for you.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
 (SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
 authorized instruction at our training centers, online, or onsite.

 

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


Re: 404

2015-03-05 Thread John M Bliss

In IIS, the handler for *.cfm is:

C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll

Does that look right...?

Could this be a permissions issue...?

On Thu, Mar 5, 2015 at 2:28 PM, John M Bliss bliss.j...@gmail.com wrote:

 Hi. I'm moving an ACF10 / FuseBox 5 site from Windows Server 2003 (32 bit)
 to Windows Server 2012 (64 bit) with new IIS, etc. My default fuse seems to
 work fine but whenever I specify another fuse like:

 http://www.domain.com/index.cfm?fuseaction=User.ShowLoginForm

 ...I'm getting the generic IIS 404 error. What am I missing...?

 --
 John Bliss - http://www.linkedin.com/in/jbliss




-- 
John Bliss - http://www.linkedin.com/in/jbliss


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


Re: 404

2015-03-05 Thread John M Bliss

Found it, I think: I was missing the IIS virtual directory /jakarta mapped
to C:\ColdFusion10\config\wsconfig\1

Does that look right?

On Thu, Mar 5, 2015 at 3:14 PM, Dave Watts dwa...@figleaf.com wrote:


  In IIS, the handler for *.cfm is:
 
  C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll
 
  Does that look right...?

 Yes.

  Could this be a permissions issue...?

 Are you able to run any CF pages? If so, probably not.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
 (SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
 authorized instruction at our training centers, online, or onsite.

 

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


Re: 404

2015-03-05 Thread Dave Watts

 Found it, I think: I was missing the IIS virtual directory /jakarta mapped
 to C:\ColdFusion10\config\wsconfig\1

 Does that look right?

Yes, you will need that. The web server configuration tool should have
created that for you.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

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


Re: 404

2015-03-05 Thread Russ Michaels

the requirement for the jakarta vdir I just find annoying, so I am using
the boncode handler with CF, then all you need is the handler and nothing
else, so you can enable/disable cf via the web.config alone.

On Thu, Mar 5, 2015 at 9:41 PM, Dave Watts dwa...@figleaf.com wrote:


  I think it did. Then I deleted it. Genius.

 Don't feel too bad, it's not immediately obvious what it's for unless
 you're familiar with Tomcat already. I know I did a double-take the
 first time I installed CF 10, then I remembered there was no more
 JRun.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
 (SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
 authorized instruction at our training centers, online, or onsite.

 

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


Re: 404

2015-03-05 Thread Dave Watts

 I think it did. Then I deleted it. Genius.

Don't feel too bad, it's not immediately obvious what it's for unless
you're familiar with Tomcat already. I know I did a double-take the
first time I installed CF 10, then I remembered there was no more
JRun.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

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


Re: 404's

2014-02-19 Thread Russ Michaels

you don;t have any rewrite rules in your web.config do you which may be
causing this


On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss bliss.j...@gmail.com wrote:


 Just installed a legacy CF app under IIS, got index.cfm to run fine with a
 form submitting to another .cfm file. Upon submitting form, location bar
 changes to http://my.domain.com/formhandler.cfm and that file is
 definitely
 in the webroot with the same permissions as index.cfm...but IIS returns a
 404 error.

 Any ideas about what to look for next?

 --
 John Bliss - http://www.linkedin.com/in/jbliss


 

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


Re: 404's

2014-02-19 Thread John M Bliss

I don't have a web.config. Also, this is IIS.


On Wed, Feb 19, 2014 at 9:29 AM, Russ Michaels r...@michaels.me.uk wrote:


 you don;t have any rewrite rules in your web.config do you which may be
 causing this


 On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss bliss.j...@gmail.com
 wrote:

 
  Just installed a legacy CF app under IIS, got index.cfm to run fine with
 a
  form submitting to another .cfm file. Upon submitting form, location bar
  changes to http://my.domain.com/formhandler.cfm and that file is
  definitely
  in the webroot with the same permissions as index.cfm...but IIS returns a
  404 error.
 
  Any ideas about what to look for next?
 
  --
  John Bliss - http://www.linkedin.com/in/jbliss
 
 
 

 

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


Re: 404's

2014-02-19 Thread Steve 'Cutter' Blades

You can have a web.config under IIS now.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://cutterscrossing.com


Co-Author Learning Ext JS 3.2 Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

The best way to predict the future is to help create it

On 2/19/2014 8:33 AM, John M Bliss wrote:
 I don't have a web.config. Also, this is IIS.


 On Wed, Feb 19, 2014 at 9:29 AM, Russ Michaels r...@michaels.me.uk wrote:

 you don;t have any rewrite rules in your web.config do you which may be
 causing this


 On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss bliss.j...@gmail.com
 wrote:

 Just installed a legacy CF app under IIS, got index.cfm to run fine with
 a
 form submitting to another .cfm file. Upon submitting form, location bar
 changes to http://my.domain.com/formhandler.cfm and that file is
 definitely
 in the webroot with the same permissions as index.cfm...but IIS returns a
 404 error.

 Any ideas about what to look for next?

 --
 John Bliss - http://www.linkedin.com/in/jbliss




 

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


Re: 404's

2014-02-19 Thread John M Bliss

I think I remember that's possible...but I don't.


On Wed, Feb 19, 2014 at 10:06 AM, Steve 'Cutter' Blades 
cold.fus...@cutterscrossing.com wrote:


 You can have a web.config under IIS now.

 Steve 'Cutter' Blades
 Adobe Community Professional
 Adobe Certified Expert
 Advanced Macromedia ColdFusion MX 7 Developer
 
 http://cutterscrossing.com


 Co-Author Learning Ext JS 3.2 Packt Publishing 2010

 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

 The best way to predict the future is to help create it

 On 2/19/2014 8:33 AM, John M Bliss wrote:
  I don't have a web.config. Also, this is IIS.
 
 
  On Wed, Feb 19, 2014 at 9:29 AM, Russ Michaels r...@michaels.me.uk
 wrote:
 
  you don;t have any rewrite rules in your web.config do you which may be
  causing this
 
 
  On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss bliss.j...@gmail.com
  wrote:
 
  Just installed a legacy CF app under IIS, got index.cfm to run fine
 with
  a
  form submitting to another .cfm file. Upon submitting form, location
 bar
  changes to http://my.domain.com/formhandler.cfm and that file is
  definitely
  in the webroot with the same permissions as index.cfm...but IIS
 returns a
  404 error.
 
  Any ideas about what to look for next?
 
  --
  John Bliss - http://www.linkedin.com/in/jbliss
 
 
 
 
 

 

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


Re: 404's

2014-02-19 Thread Russ Michaels

yes I noted you said it was IIS, thus why I asked about the web.config,
which of course  only applies to IIS
is that any other files have this issue ?


On Wed, Feb 19, 2014 at 2:33 PM, John M Bliss bliss.j...@gmail.com wrote:


 I don't have a web.config. Also, this is IIS.


 On Wed, Feb 19, 2014 at 9:29 AM, Russ Michaels r...@michaels.me.uk
 wrote:

 
  you don;t have any rewrite rules in your web.config do you which may be
  causing this
 
 
  On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss bliss.j...@gmail.com
  wrote:
 
  
   Just installed a legacy CF app under IIS, got index.cfm to run fine
 with
  a
   form submitting to another .cfm file. Upon submitting form, location
 bar
   changes to http://my.domain.com/formhandler.cfm and that file is
   definitely
   in the webroot with the same permissions as index.cfm...but IIS
 returns a
   404 error.
  
   Any ideas about what to look for next?
  
   --
   John Bliss - http://www.linkedin.com/in/jbliss
  
  
  
 
 

 

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


Re: 404's

2014-02-19 Thread John M Bliss

I'm not sure. Site has hundreds of .cfm files. index.cfm works fine, some
.htm and image files work fine, http://my.domain.com/formhandler.cfm is 404.


On Wed, Feb 19, 2014 at 10:23 AM, Russ Michaels r...@michaels.me.uk wrote:


 yes I noted you said it was IIS, thus why I asked about the web.config,
 which of course  only applies to IIS
 is that any other files have this issue ?


 On Wed, Feb 19, 2014 at 2:33 PM, John M Bliss bliss.j...@gmail.com
 wrote:

 
  I don't have a web.config. Also, this is IIS.
 
 
  On Wed, Feb 19, 2014 at 9:29 AM, Russ Michaels r...@michaels.me.uk
  wrote:
 
  
   you don;t have any rewrite rules in your web.config do you which may be
   causing this
  
  
   On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss bliss.j...@gmail.com
   wrote:
  
   
Just installed a legacy CF app under IIS, got index.cfm to run fine
  with
   a
form submitting to another .cfm file. Upon submitting form, location
  bar
changes to http://my.domain.com/formhandler.cfm and that file is
definitely
in the webroot with the same permissions as index.cfm...but IIS
  returns a
404 error.
   
Any ideas about what to look for next?
   
--
John Bliss - http://www.linkedin.com/in/jbliss
   
   
   
  
  
 
 

 

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


Re: 404's

2014-02-19 Thread Russ Michaels

Well if other files wotk fine then it is not going to be a web server issur.
How about just deleting and recreating the file.
Make sure you have not doubled up the extension, which I have seen done
many times with extensions hidden.

Russ Michaels
www.michaels.me.uk
cfmldeveloper.com
cflive.net
cfsearch.com
On 19 Feb 2014 15:28, John M Bliss bliss.j...@gmail.com wrote:


 I'm not sure. Site has hundreds of .cfm files. index.cfm works fine, some
 .htm and image files work fine, http://my.domain.com/formhandler.cfm is
 404.


 On Wed, Feb 19, 2014 at 10:23 AM, Russ Michaels r...@michaels.me.uk
 wrote:

 
  yes I noted you said it was IIS, thus why I asked about the web.config,
  which of course  only applies to IIS
  is that any other files have this issue ?
 
 
  On Wed, Feb 19, 2014 at 2:33 PM, John M Bliss bliss.j...@gmail.com
  wrote:
 
  
   I don't have a web.config. Also, this is IIS.
  
  
   On Wed, Feb 19, 2014 at 9:29 AM, Russ Michaels r...@michaels.me.uk
   wrote:
  
   
you don;t have any rewrite rules in your web.config do you which may
 be
causing this
   
   
On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss bliss.j...@gmail.com
wrote:
   

 Just installed a legacy CF app under IIS, got index.cfm to run fine
   with
a
 form submitting to another .cfm file. Upon submitting form,
 location
   bar
 changes to http://my.domain.com/formhandler.cfm and that file is
 definitely
 in the webroot with the same permissions as index.cfm...but IIS
   returns a
 404 error.

 Any ideas about what to look for next?

 --
 John Bliss - http://www.linkedin.com/in/jbliss



   
   
  
  
 
 

 

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


Re: 404's

2014-02-19 Thread Randy Johnson

I can been caught by this too when setting up a new windows server.  Very
frustrating, especially after you find out it is a double extension issue.

Randy



On Wed, Feb 19, 2014 at 12:56 PM, Russ Michaels r...@michaels.me.uk wrote:


 Well if other files wotk fine then it is not going to be a web server
 issur.
 How about just deleting and recreating the file.
 Make sure you have not doubled up the extension, which I have seen done
 many times with extensions hidden.

 Russ Michaels
 www.michaels.me.uk
 cfmldeveloper.com
 cflive.net
 cfsearch.com
 On 19 Feb 2014 15:28, John M Bliss bliss.j...@gmail.com wrote:

 
  I'm not sure. Site has hundreds of .cfm files. index.cfm works fine, some
  .htm and image files work fine, http://my.domain.com/formhandler.cfm is
  404.
 
 
  On Wed, Feb 19, 2014 at 10:23 AM, Russ Michaels r...@michaels.me.uk
  wrote:
 
  
   yes I noted you said it was IIS, thus why I asked about the web.config,
   which of course  only applies to IIS
   is that any other files have this issue ?
  
  
   On Wed, Feb 19, 2014 at 2:33 PM, John M Bliss bliss.j...@gmail.com
   wrote:
  
   
I don't have a web.config. Also, this is IIS.
   
   
On Wed, Feb 19, 2014 at 9:29 AM, Russ Michaels r...@michaels.me.uk
wrote:
   

 you don;t have any rewrite rules in your web.config do you which
 may
  be
 causing this


 On Tue, Feb 18, 2014 at 8:44 PM, John M Bliss 
 bliss.j...@gmail.com
 wrote:

 
  Just installed a legacy CF app under IIS, got index.cfm to run
 fine
with
 a
  form submitting to another .cfm file. Upon submitting form,
  location
bar
  changes to http://my.domain.com/formhandler.cfm and that file is
  definitely
  in the webroot with the same permissions as index.cfm...but IIS
returns a
  404 error.
 
  Any ideas about what to look for next?
 
  --
  John Bliss - http://www.linkedin.com/in/jbliss
 
 
 


   
   
  
  
 
 

 

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


RE: 404 pages

2013-07-19 Thread Mark A Kruger

Rob,

Not sure if anyone answered you here. Did you also set your
onMissingTemplate() handler in your application.cfc?

-Mark
 
-Original Message-
From: Rob Voyle [mailto:robvo...@voyle.com] 
Sent: Thursday, July 18, 2013 4:47 PM
To: cf-talk
Subject: 404 pages


Hi Folks

I set up in the administrator a Missing Template Handler
I have a notfound.cfm page that works fine for 404 errors such as
http://www.domain.com/obsoletePage.cfm
will trigger notFound.cfm

However
http://www.domain.com/obsoletePage.cfm?training=teleconference
gets the standard CF missing page with the path
File not found: /obsoletePage.cfm

Any ideas on how to handle urls with get data

Thanks
Rob  




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


Re: 404 errors in the application log

2012-04-02 Thread Nathan Strutz

IIS has an option to check for existing files before it hands the request
off to CF. You could also implement an onMissingTemplate() method in your
Application.cfc, which I think is a CF9 feature.

nathan strutz
[www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz]


On Mon, Apr 2, 2012 at 8:34 AM, Randy Johnson ra...@randy.cc wrote:


 Hello,

 Is there a way to prevent 404 error messages from showing up in the
 application log?

 Thanks!

 Randy

 

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


Re: 404 errors in the application log

2012-04-02 Thread Dave Watts

 IIS has an option to check for existing files before it hands the request
 off to CF.

Just a heads-up - you have to be very careful with this feature, at
least in some versions of IIS + CF. CF depends in many cases on
wildcard patterns, and paths to files that don't even exist.

 You could also implement an onMissingTemplate() method in your
 Application.cfc, which I think is a CF9 feature.

This is the suggestion I'd recommend, and it's available in CF 8 as well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: 404 errors in the application log

2012-04-02 Thread Randy Johnson

 You could also implement an onMissingTemplate() method in your
 Application.cfc, which I think is a CF9 feature.

Thanks,  I will go this route.

Randy 

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


Re: 404 errors in the application log

2012-04-02 Thread Randy Johnson

 You could also implement an onMissingTemplate() method in your
 Application.cfc, which I think is a CF9 feature.

This is the suggestion I'd recommend, and it's available in CF 8 as well.

Thanks, this is what I will do.

Randy

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


Re: 404 errors in the application log

2012-04-02 Thread Russ Michaels

you also have a global setting in the cfadmin for missing template handler,
put a path here and it will show for all missing files.
note that the file must also exist at the same path in the default website
that hosts the cfadmin or it wont validate. A very daft requirement if you
ask me.


On Mon, Apr 2, 2012 at 5:11 PM, Randy Johnson ra...@randy.cc wrote:


  You could also implement an onMissingTemplate() method in your
  Application.cfc, which I think is a CF9 feature.
 
 This is the suggestion I'd recommend, and it's available in CF 8 as well.

 Thanks, this is what I will do.

 Randy

 

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


Re: 404 and CFCHART Problem

2010-03-26 Thread Dave Watts

 In a previous thread I was asking about getting a custom 404.cfm to display
 on missing .cfm pages. Got that working.

 In that thread someone mentioned it could cause a problem with CFchart
 because it references some kind of page that doesn't exists, and I'd have to
 make a fake page if I used it. I can't find that thread, but now I'm having
 exactly that problem. G!

 Does anyone know what I can do to fix a CFchart problem when we have a
 sitewide 404 applied for .cfm pages?

 I know someone said it, but I can't remember it and can't find it now.

Capture the name of the file it's looking for, and create it. I think
it's /CFIDE/GraphData.cfm, but am not entirely sure. The file doesn't
need to have anything in it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332333
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: 404 and CFCHART Problem

2010-03-26 Thread Robert Harrison

Thank you Dave.  

That fixed it.


Robert B. Harrison
Director of Interactive Services
Austin  Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged



-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Friday, March 26, 2010 1:47 PM
To: cf-talk
Subject: Re: 404 and CFCHART Problem


 In a previous thread I was asking about getting a custom 404.cfm to
display
 on missing .cfm pages. Got that working.

 In that thread someone mentioned it could cause a problem with CFchart
 because it references some kind of page that doesn't exists, and I'd have
to
 make a fake page if I used it. I can't find that thread, but now I'm
having
 exactly that problem. G!

 Does anyone know what I can do to fix a CFchart problem when we have a
 sitewide 404 applied for .cfm pages?

 I know someone said it, but I can't remember it and can't find it now.

Capture the name of the file it's looking for, and create it. I think
it's /CFIDE/GraphData.cfm, but am not entirely sure. The file doesn't
need to have anything in it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332338
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: 404 onMissingTemplate works with html, not with cfm

2008-09-27 Thread James Holmes
This setting also breaks cfchart and other things that rely on servlet
filters, unless dummy files matching the filter spec are created in the
expected locations.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


2008/9/27 Justin Scott

 The only downside is that IIS will start looking on the hard
 drive for the file upon each request, and will increase disk I/O, though
 the difference is negligible.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313180
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Charlie Griefer
you need to set a sitewide missing template handler in the cf admin.
if you're on CF 8, you can add an onMissingTemplate method to your
Application.cfc on a per-application basis (if need be).

On Fri, Sep 26, 2008 at 8:32 AM, Paul Ihrig [EMAIL PROTECTED] wrote:

 ok..
 i am not sure what to look at.
 if you type a file like whatever.htm
 our custom 404 page pops up just fine.

 but if it is a missing .cfm
  i just get the cf debugger, and not a 404.cfm page

 you know

 The web site you are accessing has experienced an unexpected error.
 Please contact the website administrator.

 The following information is meant for the website developer for
 debugging purposes.
 Error Occurred While Processing Request
 File not found: /products/inde22x.cfm


 Resources:
 Enable Robust Exception Information to provide greater detail about
 the source of errors. In the Administrator, click Debugging  Logging
  Debug Output


 do i need to do some thing in cfadmin?


 thanks
 -paul

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313116
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Justin Scott
 but if it is a missing .cfm
  i just get the cf debugger, and not a 404.cfm page

If you're running IIS, you can set the ISAPI filter and extension 
handler to check if file exists (off by default) which will cause IIS 
to actually look for the file on disk and only pass the request to 
ColdFusion if the file is actually there, otherwise it will fall over to 
the internal 404 setting for that site in IIS.


-Justin Scott, http://www.tlson.com/



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313117
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Paul Ihrig
i have a Missing Template Handler in cf admin /404.cfm
also the default 404 in IIS points to 404.cfm

every thig works well UNLESS it is a missing *.cfm file
then the 404.cfm seems to be ignored and i get the cf debugger looking
thing saying file not found.

404 URL /404.cfm

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313131
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Paul Ihrig
Justin
Can you explain this in greater detail?
thanks


On Fri, Sep 26, 2008 at 11:49 AM, Justin Scott [EMAIL PROTECTED] wrote:
 but if it is a missing .cfm
  i just get the cf debugger, and not a 404.cfm page

 If you're running IIS, you can set the ISAPI filter and extension
 handler to check if file exists (off by default) which will cause IIS
 to actually look for the file on disk and only pass the request to
 ColdFusion if the file is actually there, otherwise it will fall over to
 the internal 404 setting for that site in IIS.


 -Justin Scott, http://www.tlson.com/



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313132
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Justin Scott
 Can you explain this in greater detail?

As you know, requests come through IIS.  For a simple page such as 
whatever.htm, it looks on the hard drive for whatever.htm, and if it's 
found, it is read and sent to the visitor.  If it's not found, IIS goes 
to the error control settings to see what it should do in the case of a 
404 and displays its 404 error, redirect, or whatever it's set to do.

In the case of anything with an extension handler or ISAPI filter (such 
as ColdFusion), by default IIS just passes the request to the filter and 
waits for a response.  In this case, the response it gets is output from 
ColdFusion as an error saying the file doesn't exist, and that gets 
passed back to the visitor.

In the ISAPI and extension handler settings in IIS, there is an option 
called verify that file exists which can be turned on.  When enabled, 
IIS will go check the hard drive for the file just like it does for 
unhandled file types such as basic HTML.  If the file exists, it will 
hand the request over to the filter normally.  If it doesn't exist, it 
will ignore the filter and go straight to the 404 error settings and 
handle it internally, so ColdFusion never sees the request.  Essentially 
it allows missing .cfm requests to be handled the same as any other 
missing file.

You need access to the IIS settings console or the metabase to make this 
change.  The only downside is that IIS will start looking on the hard 
drive for the file upon each request, and will increase disk I/O, though 
the difference is negligible.

In the IIS GUI, the setting is under the site properties, Home Directory 
tab, either of the edit buttons, then verify that file exists.


-Justin Scott, http://www.tlson.com/



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313137
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: 404's

2008-05-08 Thread Andy Matthews
If you had CF8, you could take advantage of the onMissingTemplate method.

You could try using a URL rewrite tech such as ISAPE_REWRITE. It's really
easy and relatively inexpensive. There's also an open source alternative to
it, but I can't recall the name of it. 

-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 9:19 AM
To: CF-Talk
Subject: 404's

I've just done a big update on a site and, of course, the files names and
structure has all changed.

I've been looking for ways to handle the 404 problems, especially for SEO.

I host several sites on the same IIS server, running CF 7, so I'm reluctant
to use the server wide 404 mapping in CF Admin.

What other options do I have?  If I could just redirect all 404's to one
page per site, it would be a good start, but is there some way I could keep
a single file with a list of the old/new file mappings and have the browser
redirected to the right place?

TIA, Jenny





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304875
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: 404's

2008-05-08 Thread Jacob
You need to put the original files back and 301 them to the new files.

You can also use ISAPI rewrite.

I would not redirect all 404's to one page.

-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 9:19 AM
To: CF-Talk
Subject: 404's

I've just done a big update on a site and, of course, the files names and
structure has all changed.

I've been looking for ways to handle the 404 problems, especially for SEO.

I host several sites on the same IIS server, running CF 7, so I'm reluctant
to use the server wide 404 mapping in CF Admin.

What other options do I have?  If I could just redirect all 404's to one
page per site, it would be a good start, but is there some way I could keep
a single file with a list of the old/new file mappings and have the browser
redirected to the right place?

TIA, Jenny







~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304890
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: 404's

2008-05-08 Thread Jenny Gavin-Wear
Thanks for the replies ...

Would it be possible to change the default 404 page in IE?

-Original Message-
From: Jacob [mailto:[EMAIL PROTECTED]
Sent: 08 May 2008 16:59
To: CF-Talk
Subject: RE: 404's


You need to put the original files back and 301 them to the new files.

You can also use ISAPI rewrite.

I would not redirect all 404's to one page.

-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 08, 2008 9:19 AM
To: CF-Talk
Subject: 404's

I've just done a big update on a site and, of course, the files names and
structure has all changed.

I've been looking for ways to handle the 404 problems, especially for SEO.

I host several sites on the same IIS server, running CF 7, so I'm reluctant
to use the server wide 404 mapping in CF Admin.

What other options do I have?  If I could just redirect all 404's to one
page per site, it would be a good start, but is there some way I could keep
a single file with a list of the old/new file mappings and have the browser
redirected to the right place?

TIA, Jenny









~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304904
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404's

2008-05-08 Thread Phillip Vector
What

Do you know what a 404 page is? It's on the server. You don't use IE
to change it unless you are talking a web based control panel (and
even then, that's specific to what kind of web package you have).

So... the short answer is... Depends.

On Thu, May 8, 2008 at 9:20 AM, Jenny Gavin-Wear
[EMAIL PROTECTED] wrote:
 Thanks for the replies ...

 Would it be possible to change the default 404 page in IE?

 -Original Message-
 From: Jacob [mailto:[EMAIL PROTECTED]
 Sent: 08 May 2008 16:59
 To: CF-Talk
 Subject: RE: 404's


 You need to put the original files back and 301 them to the new files.

 You can also use ISAPI rewrite.

 I would not redirect all 404's to one page.

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 08, 2008 9:19 AM
 To: CF-Talk
 Subject: 404's

 I've just done a big update on a site and, of course, the files names and
 structure has all changed.

 I've been looking for ways to handle the 404 problems, especially for SEO.

 I host several sites on the same IIS server, running CF 7, so I'm reluctant
 to use the server wide 404 mapping in CF Admin.

 What other options do I have?  If I could just redirect all 404's to one
 page per site, it would be a good start, but is there some way I could keep
 a single file with a list of the old/new file mappings and have the browser
 redirected to the right place?

 TIA, Jenny









 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304907
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: 404's

2008-05-08 Thread Jenny Gavin-Wear
When I looked into IIS it appeared to me that the default error pages could
be changed for each hosted site.

I'm nervous about playing with it and screwing it up ..

And yes, thanks, I've been in IT long enough to know what a 404 is.

-Original Message-
From: Phillip Vector [mailto:[EMAIL PROTECTED]
Sent: 08 May 2008 17:26
To: CF-Talk
Subject: Re: 404's


What

Do you know what a 404 page is? It's on the server. You don't use IE
to change it unless you are talking a web based control panel (and
even then, that's specific to what kind of web package you have).

So... the short answer is... Depends.

On Thu, May 8, 2008 at 9:20 AM, Jenny Gavin-Wear
[EMAIL PROTECTED] wrote:
 Thanks for the replies ...

 Would it be possible to change the default 404 page in IE?

 -Original Message-
 From: Jacob [mailto:[EMAIL PROTECTED]
 Sent: 08 May 2008 16:59
 To: CF-Talk
 Subject: RE: 404's


 You need to put the original files back and 301 them to the new files.

 You can also use ISAPI rewrite.

 I would not redirect all 404's to one page.

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 08, 2008 9:19 AM
 To: CF-Talk
 Subject: 404's

 I've just done a big update on a site and, of course, the files names and
 structure has all changed.

 I've been looking for ways to handle the 404 problems, especially for SEO.

 I host several sites on the same IIS server, running CF 7, so I'm
reluctant
 to use the server wide 404 mapping in CF Admin.

 What other options do I have?  If I could just redirect all 404's to one
 page per site, it would be a good start, but is there some way I could
keep
 a single file with a list of the old/new file mappings and have the
browser
 redirected to the right place?

 TIA, Jenny













~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304910
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 404's

2008-05-08 Thread Phillip Vector
Ok.. Yes.. It can be changed with IE...

Also with Safari and Firefox...

But not Opera... Don't use Opera. ;)

On Thu, May 8, 2008 at 9:39 AM, Jenny Gavin-Wear
[EMAIL PROTECTED] wrote:
 When I looked into IIS it appeared to me that the default error pages could
 be changed for each hosted site.

 I'm nervous about playing with it and screwing it up ..

 And yes, thanks, I've been in IT long enough to know what a 404 is.

 -Original Message-
 From: Phillip Vector [mailto:[EMAIL PROTECTED]
 Sent: 08 May 2008 17:26
 To: CF-Talk
 Subject: Re: 404's


 What

 Do you know what a 404 page is? It's on the server. You don't use IE
 to change it unless you are talking a web based control panel (and
 even then, that's specific to what kind of web package you have).

 So... the short answer is... Depends.

 On Thu, May 8, 2008 at 9:20 AM, Jenny Gavin-Wear
 [EMAIL PROTECTED] wrote:
 Thanks for the replies ...

 Would it be possible to change the default 404 page in IE?

 -Original Message-
 From: Jacob [mailto:[EMAIL PROTECTED]
 Sent: 08 May 2008 16:59
 To: CF-Talk
 Subject: RE: 404's


 You need to put the original files back and 301 them to the new files.

 You can also use ISAPI rewrite.

 I would not redirect all 404's to one page.

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 08, 2008 9:19 AM
 To: CF-Talk
 Subject: 404's

 I've just done a big update on a site and, of course, the files names and
 structure has all changed.

 I've been looking for ways to handle the 404 problems, especially for SEO.

 I host several sites on the same IIS server, running CF 7, so I'm
 reluctant
 to use the server wide 404 mapping in CF Admin.

 What other options do I have?  If I could just redirect all 404's to one
 page per site, it would be a good start, but is there some way I could
 keep
 a single file with a list of the old/new file mappings and have the
 browser
 redirected to the right place?

 TIA, Jenny













 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304911
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: 404's

2008-05-08 Thread Brad Wood
It is technically possible to override what the browser displays when
it receives an HTTP code of 404 by actually sending back 200 with a
catch-all page that simply says 404-not found.  Please try here etc at
the top of it.

This, of course, isn't really a 404 at all, but it is prettier than
letting the browser deal with what to display.  

For a prime example, go to
www.yahoo.com/totally_non_existant_directory/index.html

I completely made up that URL, but Yahoo still gives you something
pretty.

~Brad

-Original Message-
From: Phillip Vector [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 08, 2008 11:26 AM
To: CF-Talk
Subject: Re: 404's

What

Do you know what a 404 page is? It's on the server. You don't use IE
to change it unless you are talking a web based control panel (and
even then, that's specific to what kind of web package you have).

So... the short answer is... Depends.

On Thu, May 8, 2008 at 9:20 AM, Jenny Gavin-Wear
[EMAIL PROTECTED] wrote:
 Thanks for the replies ...

 Would it be possible to change the default 404 page in IE?

 -Original Message-
 From: Jacob [mailto:[EMAIL PROTECTED]
 Sent: 08 May 2008 16:59
 To: CF-Talk
 Subject: RE: 404's


 You need to put the original files back and 301 them to the new files.

 You can also use ISAPI rewrite.

 I would not redirect all 404's to one page.

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 08, 2008 9:19 AM
 To: CF-Talk
 Subject: 404's

 I've just done a big update on a site and, of course, the files names
and
 structure has all changed.

 I've been looking for ways to handle the 404 problems, especially for
SEO.

 I host several sites on the same IIS server, running CF 7, so I'm
reluctant
 to use the server wide 404 mapping in CF Admin.

 What other options do I have?  If I could just redirect all 404's to
one
 page per site, it would be a good start, but is there some way I could
keep
 a single file with a list of the old/new file mappings and have the
browser
 redirected to the right place?

 TIA, Jenny









 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304913
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404's

2008-05-08 Thread David Livingston
This is for Win 2k server, but it probably hasn't changed too much in  
newer versions. Hope it helps. You can probably test on your local  
windows machine before deploying to server.

http://technet.microsoft.com/en-us/library/bb727138.aspx

Dave

On May 8, 2008, at 11:39 AM, Jenny Gavin-Wear wrote:

 When I looked into IIS it appeared to me that the default error  
 pages could
 be changed for each hosted site.

 I'm nervous about playing with it and screwing it up ..

 And yes, thanks, I've been in IT long enough to know what a 404 is.

 -Original Message-
 From: Phillip Vector [mailto:[EMAIL PROTECTED]
 Sent: 08 May 2008 17:26
 To: CF-Talk
 Subject: Re: 404's


 What

 Do you know what a 404 page is? It's on the server. You don't use IE
 to change it unless you are talking a web based control panel (and
 even then, that's specific to what kind of web package you have).

 So... the short answer is... Depends.

 On Thu, May 8, 2008 at 9:20 AM, Jenny Gavin-Wear
 [EMAIL PROTECTED] wrote:
 Thanks for the replies ...

 Would it be possible to change the default 404 page in IE?

 -Original Message-
 From: Jacob [mailto:[EMAIL PROTECTED]
 Sent: 08 May 2008 16:59
 To: CF-Talk
 Subject: RE: 404's


 You need to put the original files back and 301 them to the new  
 files.

 You can also use ISAPI rewrite.

 I would not redirect all 404's to one page.

 -Original Message-
 From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 08, 2008 9:19 AM
 To: CF-Talk
 Subject: 404's

 I've just done a big update on a site and, of course, the files  
 names and
 structure has all changed.

 I've been looking for ways to handle the 404 problems, especially  
 for SEO.

 I host several sites on the same IIS server, running CF 7, so I'm
 reluctant
 to use the server wide 404 mapping in CF Admin.

 What other options do I have?  If I could just redirect all 404's  
 to one
 page per site, it would be a good start, but is there some way I  
 could
 keep
 a single file with a list of the old/new file mappings and have the
 browser
 redirected to the right place?

 TIA, Jenny













 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304915
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404's

2008-05-08 Thread Dean Lawrence
Hi Jenny,

This is actually pretty easy to do. In IIS you can define a custom 404 page for 
each site. What not all people know is that the 404 page can be a CF page, not 
just an html page. So when someone makes a request to your site for a page that 
does not exist, IIS hands that request over to the ColdFusion 404 page, which 
then processes the request. That processing could entail querying a database to 
see if the requested page is listed there (this would be a table which simply 
contains all your old site's file names and their corresponding new file 
names). If it exists, redirect them to the new page. If not, display a nicely 
formated 404 message.

Here is an old CF Dev Journal article which describes the process.
http://cfdj.sys-con.com/read/41795.htm

Also, Ben Nadel has put together a fairly extensive example of this on his blog.
http://www.bennadel.com/snippets/29-Handling-404-Errors-in-ColdFusion.htm

Oh, and one other thing, when you define the 404 page in IIS, make sure you 
choose URL as your message type and reference your CF file relative to your 
web root (i.e. /404.cfm)

Hope this helps,

Dean

I've just done a big update on a site and, of course, the files names and
structure has all changed.

I've been looking for ways to handle the 404 problems, especially for SEO.

I host several sites on the same IIS server, running CF 7, so I'm reluctant
to use the server wide 404 mapping in CF Admin.

What other options do I have?  If I could just redirect all 404's to one
page per site, it would be a good start, but is there some way I could keep
a single file with a list of the old/new file mappings and have the browser
redirected to the right place?

TIA, Jenny 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304935
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 404's

2008-05-08 Thread Kay Smoljak
On Thu, May 8, 2008 at 10:19 PM, Jenny Gavin-Wear
[EMAIL PROTECTED] wrote:
 I've just done a big update on a site and, of course, the files names and
 structure has all changed.

 I've been looking for ways to handle the 404 problems, especially for SEO.

For SEO reasons, you want the old pages to 301 redirect to the new
ones rather than go to a 404. When a search engine spider hits a 404
it will drop the listing (not usually the first time, but eventually).
When it hits a 301 (moved permanently) it will follow the link and
should update it's index (again, not usually the first time, but
eventually).

On Apache you would do this with htaccess files - redirects and
mod_rewrite. On IIS you can use an ISAPI filter like ISAPI Rewrite
(which has a per server cost) or there's a free one too called IONIC.

Cheers,
K.

-- 
Kay Smoljak
business: www.cleverstarfish.com
coldfusion: kay.smoljak.com
personal: goatlady.wordpress.com | heapsbad.com

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304957
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404 error under CFMX and RDS

2007-03-22 Thread Davide Formica
The same happens to me CF version:7.0Windows Professional SP2.  Any help 
would be appreciated.  Thanks.

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273378
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 404 help

2006-06-24 Thread Denny Valliant
To get around that issue, I had my 404 page dump all the cgi variables into
a db table, and then cflocate itself over to a missing.cfm.

I'm gonna try to compile a list of missing pages and their matching
re-directs
(via a yet to be built UI) and use that list to send a 303 and then redirect
to the
correct location, if there is one.

A 404 manager for the webmaster, so to speak.  We'll see how it pans out.
:D

On 6/23/06, Matt Williams [EMAIL PROTECTED] wrote:

 We have a winner! Yes, the .cfm template I was trying to call for my
 custom
 404 was too fancy. Basically it included the same header file as the
 normal
 site. This header has lots of javascript for DHTML drop down menus and
 such.
 Thanks Denny. And thanks to everyone patiently trying to help.
 --
 Matt Williams
 It's the question that drives us.

 On 6/22/06, Denny Valliant [EMAIL PROTECTED] wrote:
 
  Also, it's worth noting, that if you have functions (for navigation,
 say)
  on the 404 page, they themselves will throw 404s and include the
  default 404 handler instead of the custom one.
 
  Try a plain html 404.cfm file first, before doing anything fancy.
 
  :d
 
 
 


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244743
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-23 Thread Matt Williams
We have a winner! Yes, the .cfm template I was trying to call for my custom
404 was too fancy. Basically it included the same header file as the normal
site. This header has lots of javascript for DHTML drop down menus and such.
Thanks Denny. And thanks to everyone patiently trying to help.
-- 
Matt Williams
It's the question that drives us.

On 6/22/06, Denny Valliant [EMAIL PROTECTED] wrote:

 Also, it's worth noting, that if you have functions (for navigation, say)
 on the 404 page, they themselves will throw 404s and include the
 default 404 handler instead of the custom one.

 Try a plain html 404.cfm file first, before doing anything fancy.

 :d





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-23 Thread Mark A Kruger
Whoo hoo 

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 23, 2006 6:35 AM
To: CF-Talk
Subject: Re: 404 help

We have a winner! Yes, the .cfm template I was trying to call for my custom
404 was too fancy. Basically it included the same header file as the normal
site. This header has lots of javascript for DHTML drop down menus and such.
Thanks Denny. And thanks to everyone patiently trying to help.
--
Matt Williams
It's the question that drives us.

On 6/22/06, Denny Valliant [EMAIL PROTECTED] wrote:

 Also, it's worth noting, that if you have functions (for navigation, 
 say) on the 404 page, they themselves will throw 404s and include the 
 default 404 handler instead of the custom one.

 Try a plain html 404.cfm file first, before doing anything fancy.

 :d







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244626
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-22 Thread Matt Williams
Okay, I was starting to feel stupid because I couldn't get nuttin' to work.
However, I did get a custom 404.cfm page to come up on my dev Workstation.
But I still can't get it to go on my dev Server. The main difference between
my workstation and server is the IIS Default Web Site directory. My
workstation uses the default C:\inetpub\wwwroot. I put my 404.cfm file
there. The server uses D:\WebRoot\DomainName.

So then I have a '/' mapping on the server that points to just D:\WebRoot.
Maybe this is screwing things up. I have tried various possibilities and
mappings and am not having any luck.
I created a mapping named '/404' pointing to 'D:\WebRoot\DomainName\404'.
Then in the Missing Template Handler I put /404/404.cfm. After submitting
the CF Admin says it cannot find the file and will use the default instead
(I have CF 7 on my Dev Server, which gives this feedback whereas I don't
think CF 6.1 does). So to fix this I change the Missing Template Handler
field to /DomainName/404/404.cfm (essentially eliminating the need for the
/404 mapping). Server updates okay, but when browsing to a non-existant .cfm
file, I still get the default 404 error.  Aaargh!

This isn't even that big of a deal, but has become frustrating and seems
like it shouldn't be so confusing.

-- 
Matt Williams
It's the question that drive us.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244541
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-22 Thread Mark A Kruger
Matt,

You may need to alter your IIS or Apache settings as well. The file is
missing before it hits CF... So IIS will need to know what to do. See this
blog post.

http://mkruger.cfwebtools.com/index.cfm/2006/6/13/404.errors

-Mark 

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 22, 2006 10:58 AM
To: CF-Talk
Subject: Re: 404 help

Okay, I was starting to feel stupid because I couldn't get nuttin' to work.
However, I did get a custom 404.cfm page to come up on my dev Workstation.
But I still can't get it to go on my dev Server. The main difference between
my workstation and server is the IIS Default Web Site directory. My
workstation uses the default C:\inetpub\wwwroot. I put my 404.cfm file
there. The server uses D:\WebRoot\DomainName.

So then I have a '/' mapping on the server that points to just D:\WebRoot.
Maybe this is screwing things up. I have tried various possibilities and
mappings and am not having any luck.
I created a mapping named '/404' pointing to 'D:\WebRoot\DomainName\404'.
Then in the Missing Template Handler I put /404/404.cfm. After submitting
the CF Admin says it cannot find the file and will use the default instead
(I have CF 7 on my Dev Server, which gives this feedback whereas I don't
think CF 6.1 does). So to fix this I change the Missing Template Handler
field to /DomainName/404/404.cfm (essentially eliminating the need for the
/404 mapping). Server updates okay, but when browsing to a non-existant .cfm
file, I still get the default 404 error.  Aaargh!

This isn't even that big of a deal, but has become frustrating and seems
like it shouldn't be so confusing.

--
Matt Williams
It's the question that drive us.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244543
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-22 Thread Matt Williams
I have done that. Changing IIS catches bad directory names and bad
non-.cfmfiles (as your blog mentioned). Now I'm trying to catch bad
..cfm file names.
Going to DomainName.com\asdf.cfm throws the CF File Not Found error, not the
IIS error.

On 6/22/06, Mark A Kruger [EMAIL PROTECTED] wrote:

 Matt,

 You may need to alter your IIS or Apache settings as well. The file is
 missing before it hits CF... So IIS will need to know what to do. See this
 blog post.

 http://mkruger.cfwebtools.com/index.cfm/2006/6/13/404.errors

 -Mark

 -Original Message-
 From: Matt Williams [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 22, 2006 10:58 AM
 To: CF-Talk
 Subject: Re: 404 help

 Okay, I was starting to feel stupid because I couldn't get nuttin' to
 work.
 However, I did get a custom 404.cfm page to come up on my dev Workstation.
 But I still can't get it to go on my dev Server. The main difference
 between
 my workstation and server is the IIS Default Web Site directory. My
 workstation uses the default C:\inetpub\wwwroot. I put my 404.cfm file
 there. The server uses D:\WebRoot\DomainName.

 So then I have a '/' mapping on the server that points to just D:\WebRoot.
 Maybe this is screwing things up. I have tried various possibilities and
 mappings and am not having any luck.
 I created a mapping named '/404' pointing to 'D:\WebRoot\DomainName\404'.
 Then in the Missing Template Handler I put /404/404.cfm. After submitting
 the CF Admin says it cannot find the file and will use the default instead
 (I have CF 7 on my Dev Server, which gives this feedback whereas I don't
 think CF 6.1 does). So to fix this I change the Missing Template Handler
 field to /DomainName/404/404.cfm (essentially eliminating the need for the
 /404 mapping). Server updates okay, but when browsing to a non-existant
 .cfm
 file, I still get the default 404 error.  Aaargh!

 This isn't even that big of a deal, but has become frustrating and seems
 like it shouldn't be so confusing.

 --
 Matt Williams
 It's the question that drive us.




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244544
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-22 Thread Mark A Kruger
Matt,

Ok Then the CF file has to be in a directory mapped somehow in the
admin. The missing template handler does an include (cfinclude template
=/blah.cfm ).  I see you have covered that base as well. Does cfinclude
template=/404.cfm/  work?  How about cfinclude
template=/DomainName/404/404.cfm/  If these work then your missing
template handler should work. You might also experiment with adding or
removing slash prefix in the cf admin.

-mark


-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 22, 2006 11:27 AM
To: CF-Talk
Subject: Re: 404 help

I have done that. Changing IIS catches bad directory names and bad
non-.cfmfiles (as your blog mentioned). Now I'm trying to catch bad ..cfm
file names.
Going to DomainName.com\asdf.cfm throws the CF File Not Found error, not the
IIS error.

On 6/22/06, Mark A Kruger [EMAIL PROTECTED] wrote:

 Matt,

 You may need to alter your IIS or Apache settings as well. The file is 
 missing before it hits CF... So IIS will need to know what to do. See 
 this blog post.

 http://mkruger.cfwebtools.com/index.cfm/2006/6/13/404.errors

 -Mark

 -Original Message-
 From: Matt Williams [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 22, 2006 10:58 AM
 To: CF-Talk
 Subject: Re: 404 help

 Okay, I was starting to feel stupid because I couldn't get nuttin' to 
 work.
 However, I did get a custom 404.cfm page to come up on my dev Workstation.
 But I still can't get it to go on my dev Server. The main difference 
 between my workstation and server is the IIS Default Web Site 
 directory. My workstation uses the default C:\inetpub\wwwroot. I put 
 my 404.cfm file there. The server uses D:\WebRoot\DomainName.

 So then I have a '/' mapping on the server that points to just D:\WebRoot.
 Maybe this is screwing things up. I have tried various possibilities 
 and mappings and am not having any luck.
 I created a mapping named '/404' pointing to 'D:\WebRoot\DomainName\404'.
 Then in the Missing Template Handler I put /404/404.cfm. After 
 submitting the CF Admin says it cannot find the file and will use the 
 default instead (I have CF 7 on my Dev Server, which gives this 
 feedback whereas I don't think CF 6.1 does). So to fix this I change 
 the Missing Template Handler field to /DomainName/404/404.cfm 
 (essentially eliminating the need for the
 /404 mapping). Server updates okay, but when browsing to a 
 non-existant .cfm file, I still get the default 404 error.  Aaargh!

 This isn't even that big of a deal, but has become frustrating and 
 seems like it shouldn't be so confusing.

 --
 Matt Williams
 It's the question that drive us.




 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244554
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-22 Thread Phillip Holmes
Did you create a virtual directory in IIS for your 404 folder?

-Phil

 

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 22, 2006 11:27 AM
To: CF-Talk
Subject: Re: 404 help

I have done that. Changing IIS catches bad directory names and bad
non-.cfmfiles (as your blog mentioned). Now I'm trying to catch bad ..cfm
file names.
Going to DomainName.com\asdf.cfm throws the CF File Not Found error, not the
IIS error.

On 6/22/06, Mark A Kruger [EMAIL PROTECTED] wrote:

 Matt,

 You may need to alter your IIS or Apache settings as well. The file is 
 missing before it hits CF... So IIS will need to know what to do. See 
 this blog post.

 http://mkruger.cfwebtools.com/index.cfm/2006/6/13/404.errors

 -Mark

 -Original Message-
 From: Matt Williams [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 22, 2006 10:58 AM
 To: CF-Talk
 Subject: Re: 404 help

 Okay, I was starting to feel stupid because I couldn't get nuttin' to 
 work.
 However, I did get a custom 404.cfm page to come up on my dev Workstation.
 But I still can't get it to go on my dev Server. The main difference 
 between my workstation and server is the IIS Default Web Site 
 directory. My workstation uses the default C:\inetpub\wwwroot. I put 
 my 404.cfm file there. The server uses D:\WebRoot\DomainName.

 So then I have a '/' mapping on the server that points to just D:\WebRoot.
 Maybe this is screwing things up. I have tried various possibilities 
 and mappings and am not having any luck.
 I created a mapping named '/404' pointing to 'D:\WebRoot\DomainName\404'.
 Then in the Missing Template Handler I put /404/404.cfm. After 
 submitting the CF Admin says it cannot find the file and will use the 
 default instead (I have CF 7 on my Dev Server, which gives this 
 feedback whereas I don't think CF 6.1 does). So to fix this I change 
 the Missing Template Handler field to /DomainName/404/404.cfm 
 (essentially eliminating the need for the
 /404 mapping). Server updates okay, but when browsing to a 
 non-existant .cfm file, I still get the default 404 error.  Aaargh!

 This isn't even that big of a deal, but has become frustrating and 
 seems like it shouldn't be so confusing.

 --
 Matt Williams
 It's the question that drive us.




 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244593
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-22 Thread Denny Valliant
I had to cycle the setting in cfadmin for the missing template handler,
(by setting to the old default, saving, setting it to the new default again)
for it to take in one of my sites.

Don't know if that will work for you too, but it's worth a shot.
:d

On 6/22/06, Matt Williams [EMAIL PROTECTED] wrote:

 Okay, I was starting to feel stupid because I couldn't get nuttin' to
 work.
 However, I did get a custom 404.cfm page to come up on my dev Workstation.
 But I still can't get it to go on my dev Server. The main difference
 between
 my workstation and server is the IIS Default Web Site directory. My
 workstation uses the default C:\inetpub\wwwroot. I put my 404.cfm file
 there. The server uses D:\WebRoot\DomainName.

 So then I have a '/' mapping on the server that points to just D:\WebRoot.
 Maybe this is screwing things up. I have tried various possibilities and
 mappings and am not having any luck.
 I created a mapping named '/404' pointing to 'D:\WebRoot\DomainName\404'.
 Then in the Missing Template Handler I put /404/404.cfm. After submitting
 the CF Admin says it cannot find the file and will use the default instead
 (I have CF 7 on my Dev Server, which gives this feedback whereas I don't
 think CF 6.1 does). So to fix this I change the Missing Template Handler
 field to /DomainName/404/404.cfm (essentially eliminating the need for the
 /404 mapping). Server updates okay, but when browsing to a non-existant
 .cfm
 file, I still get the default 404 error.  Aaargh!

 This isn't even that big of a deal, but has become frustrating and seems
 like it shouldn't be so confusing.

 --
 Matt Williams
 It's the question that drive us.


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244610
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-22 Thread Denny Valliant
Also, it's worth noting, that if you have functions (for navigation, say)
on the 404 page, they themselves will throw 404s and include the
default 404 handler instead of the custom one.

Try a plain html 404.cfm file first, before doing anything fancy.

:d

On 6/22/06, Denny Valliant [EMAIL PROTECTED] wrote:

 I had to cycle the setting in cfadmin for the missing template handler,
 (by setting to the old default, saving, setting it to the new default
 again)
 for it to take in one of my sites.

 Don't know if that will work for you too, but it's worth a shot.
 :d


 On 6/22/06, Matt Williams [EMAIL PROTECTED] wrote:
 
  Okay, I was starting to feel stupid because I couldn't get nuttin' to
  work.
  However, I did get a custom 404.cfm page to come up on my dev
  Workstation.
  But I still can't get it to go on my dev Server. The main difference
  between
  my workstation and server is the IIS Default Web Site directory. My
  workstation uses the default C:\inetpub\wwwroot. I put my 404.cfm file
  there. The server uses D:\WebRoot\DomainName.
 
  So then I have a '/' mapping on the server that points to just
  D:\WebRoot.
  Maybe this is screwing things up. I have tried various possibilities and
  mappings and am not having any luck.
  I created a mapping named '/404' pointing to
  'D:\WebRoot\DomainName\404'.
  Then in the Missing Template Handler I put /404/404.cfm. After
  submitting
  the CF Admin says it cannot find the file and will use the default
  instead
  (I have CF 7 on my Dev Server, which gives this feedback whereas I don't
  think CF 6.1 does). So to fix this I change the Missing Template Handler
 
  field to /DomainName/404/404.cfm (essentially eliminating the need for
  the
  /404 mapping). Server updates okay, but when browsing to a non-existant
  .cfm
  file, I still get the default 404 error.  Aaargh!
 
  This isn't even that big of a deal, but has become frustrating and seems
 
  like it shouldn't be so confusing.
 
  --
  Matt Williams
  It's the question that drive us.
 
 
  

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244611
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-21 Thread Bryan Stevenson
have a look at the site wide error handler setings in CF Admin

you can have a standard file run when any CF error occurs

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244484
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-21 Thread Coldfusion
What I did was setup in the application.cfm file was to use
cferror template=/error/error.cfm

And in that file I displayed a custom error message. 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 6:54 PM
To: CF-Talk
Subject: Re: 404 help

have a look at the site wide error handler setings in CF Admin

you can have a standard file run when any CF error occurs

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244486
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-21 Thread Phillip Holmes
There is a field in the cfadmin where you can enter a custom 404 for CFM
pages. 



Warmest Regards,
 
Phillip B. Holmes
http://phillipholmes.com





-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 5:34 PM
To: CF-Talk
Subject: 404 help

This should be a simple answer, but I couldn't find it via Google or House
of Fusion.

If you enter mydomain.com/BadDirectoryName, I get a custom error page. I
used IIS to set that up.
But if you enter mydomain.com/badfilename.cfm, I get a generic CF-style
error page. How does one get the custom error page when going to a
non-existant .cfm page?

I'm using CFMX 6.1 and IIS 5.

Thanks,

--
Matt Williams
It's the question that drive us.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244489
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-21 Thread Bryan Stevenson
 There is a field in the cfadmin where you can enter a custom 404 for CFM
 pages. 
 
 Phillip B. Holmes

DOH! forgot about that one *blush*

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244492
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-21 Thread Phillip Holmes
Heh. Also, if you're redirecting IIS to a CFM page, there are a couple
gotchas that you'll probably discover. Also, if you're running multiple
sites and want to break the 404s out per site, there is a gotcha there too.
I've been through all of that so let me know offline if you need a hand.

Phil



-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 6:22 PM
To: CF-Talk
Subject: Re: 404 help

 There is a field in the cfadmin where you can enter a custom 404 for 
 CFM pages.
 
 Phillip B. Holmes

DOH! forgot about that one *blush*

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244505
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-21 Thread Denny Valliant
On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:

 There is a field in the cfadmin where you can enter a custom 404 for CFM
 pages.


When I try to change this from the 404.cfm, I get an error that whatever
file
I try to specify doesn't exist.  I assume I can find the default 404.cfm,
and
add mine to the same folder (this happens to be where CFIDE is, so I guess
the default is wherever you installed CFIDE to in the first place).

Yeah, so, guess that's it. Find the orig 404, add yours, then change
cfadmin.

Now to add some DB stuff to see what's missing...


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244509
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-21 Thread Phillip Holmes
Create a mapping in the coldfusion admin that points to the folder with the
404.

i.e.

Mapping named /404 points to  e:\wwwroot\404

Then, in the missing template handler field:
/404/404.cfm

Warmest Regards,
 
Phillip B. Holmes
http://phillipholmes.com



 

-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 8:33 PM
To: CF-Talk
Subject: Re: 404 help

On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:

 There is a field in the cfadmin where you can enter a custom 404 for 
 CFM pages.


When I try to change this from the 404.cfm, I get an error that whatever
file I try to specify doesn't exist.  I assume I can find the default
404.cfm, and add mine to the same folder (this happens to be where CFIDE is,
so I guess the default is wherever you installed CFIDE to in the first
place).

Yeah, so, guess that's it. Find the orig 404, add yours, then change
cfadmin.

Now to add some DB stuff to see what's missing...




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244510
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-21 Thread Matt Williams
I'm using the Professional version of CFMX 6.1. Does this matter? Would I
need to restart the CF Service?

Under Settings and Missing Template Handler, I did as Phillip suggested
(create a mapping, edit the Missing Template Handler), but still get the
default.

Under this input box it says this:
Specify the relative path to a template to execute a cfinclude tag cannot
find a requested template.

This sentence doesn't make sense to me. It sounds like it only runs when a
cfinclude cannot find a template.

On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:

 Create a mapping in the coldfusion admin that points to the folder with
 the
 404.

 i.e.

 Mapping named /404 points to  e:\wwwroot\404

 Then, in the missing template handler field:
 /404/404.cfm

 Warmest Regards,

 Phillip B. Holmes
 http://phillipholmes.com





 -Original Message-
 From: Denny Valliant [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 8:33 PM
 To: CF-Talk
 Subject: Re: 404 help

 On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:
 
  There is a field in the cfadmin where you can enter a custom 404 for
  CFM pages.


 When I try to change this from the 404.cfm, I get an error that whatever
 file I try to specify doesn't exist.  I assume I can find the default
 404.cfm, and add mine to the same folder (this happens to be where CFIDE
 is,
 so I guess the default is wherever you installed CFIDE to in the first
 place).

 Yeah, so, guess that's it. Find the orig 404, add yours, then change
 cfadmin.

 Now to add some DB stuff to see what's missing...




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244515
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-21 Thread Denny Valliant
What a great list.

Gracias Phillip, using a mapping makes sense.  CF can usually find those.

What are the gotcha's with per-site 404's? If they only relate to IIS,
never mind, I guess (though I still like know'n, for some reason, so,
mind (only if ya don't mind) ;)

Just out of curiousity - we can allways holler when we run into
them, ya know (considering my swiss cheese memory, that'll
happen anyways. *sigh* =).
:denny

On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:

 Create a mapping in the coldfusion admin that points to the folder with
 the
 404.

 i.e.

 Mapping named /404 points to  e:\wwwroot\404

 Then, in the missing template handler field:
 /404/404.cfm

 Warmest Regards,

 Phillip B. Holmes
 http://phillipholmes.com





 -Original Message-
 From: Denny Valliant [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 8:33 PM
 To: CF-Talk
 Subject: Re: 404 help

 On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:
 
  There is a field in the cfadmin where you can enter a custom 404 for
  CFM pages.


 When I try to change this from the 404.cfm, I get an error that whatever
 file I try to specify doesn't exist.  I assume I can find the default
 404.cfm, and add mine to the same folder (this happens to be where CFIDE
 is,
 so I guess the default is wherever you installed CFIDE to in the first
 place).

 Yeah, so, guess that's it. Find the orig 404, add yours, then change
 cfadmin.

 Now to add some DB stuff to see what's missing...




 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244516
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 help

2006-06-21 Thread Denny Valliant
On 6/21/06, Matt Williams [EMAIL PROTECTED] wrote:

 Under this input box it says this:
 Specify the relative path to a template to execute a cfinclude tag cannot
 find a requested template.


Dunno about restarting, but this does look like a weird sentence. Mine says:

Specify the relative path to the template to execute when ColdFusion cannot
find a requested template

but I'm running Ent, thus, maybe the difference.

It should only pull the custom 404 when there is a custom 404 file in
the site root of whatever application you're running, or that's how I
thought
it worked.  A quick test seems to show that behavior.  E.G. if I don't have
a 404.cfm in the site root, it uses the default 404 in my CFIDE dir.
Otherwise, it uses the one in the site root.

:d


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244518
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-21 Thread Phillip Holmes
No restart needed. Sounds like the path to your mapping may be wrong or IIS
can't reach your 404 folder. 
If the latter is the case, create a virtual directory in IIS for the 404
folder. That will take care of that problem for sure.

Phil 



-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 9:24 PM
To: CF-Talk
Subject: Re: 404 help

I'm using the Professional version of CFMX 6.1. Does this matter? Would I
need to restart the CF Service?

Under Settings and Missing Template Handler, I did as Phillip suggested
(create a mapping, edit the Missing Template Handler), but still get the
default.

Under this input box it says this:
Specify the relative path to a template to execute a cfinclude tag cannot
find a requested template.

This sentence doesn't make sense to me. It sounds like it only runs when a
cfinclude cannot find a template.

On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:

 Create a mapping in the coldfusion admin that points to the folder 
 with the 404.

 i.e.

 Mapping named /404 points to  e:\wwwroot\404

 Then, in the missing template handler field:
 /404/404.cfm

 Warmest Regards,

 Phillip B. Holmes
 http://phillipholmes.com





 -Original Message-
 From: Denny Valliant [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 8:33 PM
 To: CF-Talk
 Subject: Re: 404 help

 On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:
 
  There is a field in the cfadmin where you can enter a custom 404 for 
  CFM pages.


 When I try to change this from the 404.cfm, I get an error that 
 whatever file I try to specify doesn't exist.  I assume I can find the 
 default 404.cfm, and add mine to the same folder (this happens to be 
 where CFIDE is, so I guess the default is wherever you installed CFIDE 
 to in the first place).

 Yeah, so, guess that's it. Find the orig 404, add yours, then change 
 cfadmin.

 Now to add some DB stuff to see what's missing...




 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244521
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 help

2006-06-21 Thread Phillip Holmes
There are a bunch of little things but it depends on your config and what
you're doing.

Macromedia has disallowed complex functionality within the Missing Template
Handler due to cross site scripting in the 404.cfm (example name) file.
Therefore, if you want to do anything fancy, just locate it over to a
404b.cfm and do your processing there.

Warmest Regards,
 
Phillip B. Holmes
http://phillipholmes.com











-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 9:34 PM
To: CF-Talk
Subject: Re: 404 help

What a great list.

Gracias Phillip, using a mapping makes sense.  CF can usually find those.

What are the gotcha's with per-site 404's? If they only relate to IIS, never
mind, I guess (though I still like know'n, for some reason, so, mind (only
if ya don't mind) ;)

Just out of curiousity - we can allways holler when we run into them, ya
know (considering my swiss cheese memory, that'll happen anyways. *sigh* =).
:denny

On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:

 Create a mapping in the coldfusion admin that points to the folder 
 with the 404.

 i.e.

 Mapping named /404 points to  e:\wwwroot\404

 Then, in the missing template handler field:
 /404/404.cfm

 Warmest Regards,

 Phillip B. Holmes
 http://phillipholmes.com





 -Original Message-
 From: Denny Valliant [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 8:33 PM
 To: CF-Talk
 Subject: Re: 404 help

 On 6/21/06, Phillip Holmes [EMAIL PROTECTED] wrote:
 
  There is a field in the cfadmin where you can enter a custom 404 for 
  CFM pages.


 When I try to change this from the 404.cfm, I get an error that 
 whatever file I try to specify doesn't exist.  I assume I can find the 
 default 404.cfm, and add mine to the same folder (this happens to be 
 where CFIDE is, so I guess the default is wherever you installed CFIDE 
 to in the first place).

 Yeah, so, guess that's it. Find the orig 404, add yours, then change 
 cfadmin.

 Now to add some DB stuff to see what's missing...




 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244522
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 errors and old google data

2006-04-17 Thread Denny Valliant
I think that a missing CF page throws a templateNotFound exception, so,
theoretically,
you could use your onError (defined in Application.cfc) or you can add the
cferror tag
to Application.cfm cferror type=exception template=errorpage.cfm

And from there, it's just a matter of trapping the templateNotFound and
checking
the template name against (maybe) a databased list of missing files, and
then
redirecting based on results.

I gotta implement this myself, in some manner, so I'll post what I come up
with when
I come up with it.

Theoretical at this point, but I think doable.
:D

-ps Aparently I never got the sitewide 404 set up right (within
cfadministrator), and
instead used Apache to pipe any 404's to the correct page. :-/ I know you
don't have
access to the Apache conf... but that's the only solution for plain .html
files.
(or the solution using meta-redirects)


On 4/14/06, Les Mizzell [EMAIL PROTECTED] wrote:

  cfheader statuscode=301 statustext=Moved Permanently
  cfheader name=Location value=#newURL#
  cfabort


 Is there any way to create a one page handler that would do this for a
 list of pages (assuming I know the names of the templates found to be
 missing)?

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237965
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 errors and old google data

2006-04-16 Thread Les Mizzell
 cfheader statuscode=301 statustext=Moved Permanently
 cfheader name=Location value=#newURL#
 cfabort


Is there any way to create a one page handler that would do this for a 
list of pages (assuming I know the names of the templates found to be 
missing)?

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237804
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 errors and old google data

2006-04-13 Thread lesmizz
I have a ColdFusion page that handles all IIS and CF 404 errors. In
that page, I use the 301 redirect code that Jacob listed. 

Would you mind sharing the way that page is set up for us please?

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237670
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 errors and old google data

2006-04-12 Thread Mike Chabot
I have a ColdFusion page that handles all IIS and CF 404 errors. In
that page, I use the 301 redirect code that Jacob listed. I believe
this is the most appropriate solution. A regular cflocation is a 302
temporary redirect, which could hurt the site's search engine
rankings. I don't have easy access to the Web server logs on one
server, so I log the 404 errors in a database table. Whenever an
unhandled error occurs, I add a couple lines of code in the 404 error
handler to redirect that missing page to the appropriate location.

-Mike Chabot

On 4/11/06, Munson, Jacob [EMAIL PROTECTED] wrote:
 I would try to do something like this.  I like to do redirects, CF has a
 way to do that:

 cfheader statuscode=301 statustext=Moved Permanently
 cfheader name=Location value=#newURL#
 cfabort

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237506
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 errors and old google data

2006-04-12 Thread Denny Valliant
This is exactly what I was about to try. Good to hear it's doable!

On 4/12/06, Mike Chabot [EMAIL PROTECTED] wrote:

 I have a ColdFusion page that handles all IIS and CF 404 errors. In
 that page, I use the 301 redirect code that Jacob listed. I believe
 this is the most appropriate solution. A regular cflocation is a 302
 temporary redirect, which could hurt the site's search engine
 rankings. I don't have easy access to the Web server logs on one
 server, so I log the 404 errors in a database table. Whenever an
 unhandled error occurs, I add a couple lines of code in the 404 error
 handler to redirect that missing page to the appropriate location.

 -Mike Chabot

 On 4/11/06, Munson, Jacob [EMAIL PROTECTED] wrote:
  I would try to do something like this.  I like to do redirects, CF has a
  way to do that:
 
  cfheader statuscode=301 statustext=Moved Permanently
  cfheader name=Location value=#newURL#
  cfabort

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237648
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 errors and old google data

2006-04-11 Thread Andy Matthews
I'm having the same problem. I just redesigned a site and I'm getting CF
errors from some pages and 404 errors from other pages.

I'd love to know what you did for a solution.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 11:25 AM
To: CF-Talk
Subject: 404 errors and old google data


A client site of mine is getting a bunch of 404 errors now when
Google/MSN/Yahoo bots are trying to find pages that were on their old site.

Will this problem just fix itself over time?

Should I set the header info (other than a 404 status)? Something like a
permanent redirect or a permanent not found or something? Just something to
let the bots know not to index the error page, but instead to realize that
they don't need to have that link anymore?

Thanks,

Ben Nadel
Web Developer
Nylon Technology
350 7th Ave.
Suite 1005
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237432
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 errors and old google data

2006-04-11 Thread Russ
If possible, set up an apache redirect that redirects the old url to the new
one.  (and make it a permanent redirect).  This way the search engines will
start indexing the new site. 

You can also just rewrite all the not found urls to the home page of the new
site, so this way the search engines will just start indexing that
instead... 

 -Original Message-
 From: Ben Nadel [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:25 PM
 To: CF-Talk
 Subject: 404 errors and old google data
 
 A client site of mine is getting a bunch of 404 errors now when
 Google/MSN/Yahoo bots are trying to find pages that were on their old
 site.
 
 Will this problem just fix itself over time?
 
 Should I set the header info (other than a 404 status)? Something like a
 permanent redirect or a permanent not found or something? Just something
 to
 let the bots know not to index the error page, but instead to realize that
 they don't need to have that link anymore?
 
 Thanks,
 ...
 Ben Nadel
 Web Developer
 Nylon Technology
 350 7th Ave.
 Suite 1005
 New York, NY 10001
 212.691.1134 x 14
 212.691.3477 fax
 www.nylontechnology.com
 
 Sanders: Lightspeed too slow?
 Helmet: Yes we'll have to go right to ludacris speed.
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237433
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 errors and old google data

2006-04-11 Thread Ben Nadel
Russ,

Good suggesitons, but I can't really do a permanent redirect as I don't know
what the old Urls are... I was not involved in the old site creation, nor
was my client-contact.

As far as the homepage redirect, I like having the error page to let people
know that they didn't make a mistake.. That the site did. 

Thanks,
...
Ben Nadel 
Web Developer
Nylon Technology
350 7th Ave.
Suite 1005
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 12:32 PM
To: CF-Talk
Subject: RE: 404 errors and old google data

If possible, set up an apache redirect that redirects the old url to the new
one.  (and make it a permanent redirect).  This way the search engines will
start indexing the new site. 

You can also just rewrite all the not found urls to the home page of the new
site, so this way the search engines will just start indexing that
instead... 

 -Original Message-
 From: Ben Nadel [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:25 PM
 To: CF-Talk
 Subject: 404 errors and old google data
 
 A client site of mine is getting a bunch of 404 errors now when 
 Google/MSN/Yahoo bots are trying to find pages that were on their old 
 site.
 
 Will this problem just fix itself over time?
 
 Should I set the header info (other than a 404 status)? Something like 
 a permanent redirect or a permanent not found or something? Just 
 something to let the bots know not to index the error page, but 
 instead to realize that they don't need to have that link anymore?
 
 Thanks,
 ...
 Ben Nadel
 Web Developer
 Nylon Technology
 350 7th Ave.
 Suite 1005
 New York, NY 10001
 212.691.1134 x 14
 212.691.3477 fax
 www.nylontechnology.com
 
 Sanders: Lightspeed too slow?
 Helmet: Yes we'll have to go right to ludacris speed.
 
 
 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237434
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 errors and old google data

2006-04-11 Thread Dawson, Michael
Can't you get the 404 errors from the web server logs?  If they tried to
access your web site and received a 404, it will be in the logs.

M!ke 

-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 11:43 AM
To: CF-Talk
Subject: RE: 404 errors and old google data

Russ,

Good suggesitons, but I can't really do a permanent redirect as I don't
know what the old Urls are... I was not involved in the old site
creation, nor was my client-contact.

As far as the homepage redirect, I like having the error page to let
people know that they didn't make a mistake.. That the site did. 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237439
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404 errors and old google data

2006-04-11 Thread Munson, Jacob
 From: Ben Nadel [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 11, 2006 10:25 AM
 
 A client site of mine is getting a bunch of 404 errors now when
 Google/MSN/Yahoo bots are trying to find pages that were on 
 their old site. 
 
 Will this problem just fix itself over time? 

Yes, it would, but it may not be the best option.
 
 Should I set the header info (other than a 404 status)? 
 Something like a
 permanent redirect or a permanent not found or something? 

I would try to do something like this.  I like to do redirects, CF has a
way to do that:

cfheader statuscode=301 statustext=Moved Permanently
cfheader name=Location value=#newURL#
cfabort





[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237451
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 errors and old google data

2006-04-11 Thread Ray Champagne
 Should I set the header info (other than a 404 status)? 
 Something like a
 permanent redirect or a permanent not found or something? 
 
 I would try to do something like this.  I like to do redirects, CF has a
 way to do that:
 
 cfheader statuscode=301 statustext=Moved Permanently
 cfheader name=Location value=#newURL#
 cfabort
 
 

So, just so I'm clear on SE practices...

He said that he has no idea what pages were supposed to correspond to 
old pages.  If he just redirects them all to the root (index.cfm), they 
won't lose the ranking, and over time, the new site will not be 
blacklisted or anything.  Sorry to jump in the middle if this has 
already been answered, but I'm having a similar problem right now.

Ray

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237452
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread S . Isaac Dealey
There's a setting for that in your IIS site preferences.

Home Directory tab
Configuration button @ lower right
select the .cfm extension and press the Edit button
check or uncheck the check that file exists checkbox

hth


 If my host allows me to have a 404 error page, why doesn't
 it work when
 using cf file extensions? Is this an IIS or other setting?
 When I go to
 (nonexistent) foo.cfm on my page, I get the File Not
 Found CF error.
 If I go to (nonexistent) foo.html, IIS delivers the nice
 404 page I created.

 Is this a setting or just the way it is?


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236933
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread Ray Champagne
hrm, well, this for a shared host, where I have no access to that.

I'm off to write to support people right now.

Thanks again.

S. Isaac Dealey wrote:
 There's a setting for that in your IIS site preferences.
 
 Home Directory tab
 Configuration button @ lower right
 select the .cfm extension and press the Edit button
 check or uncheck the check that file exists checkbox
 
 hth
 
 
 If my host allows me to have a 404 error page, why doesn't
 it work when
 using cf file extensions? Is this an IIS or other setting?
 When I go to
 (nonexistent) foo.cfm on my page, I get the File Not
 Found CF error.
 If I go to (nonexistent) foo.html, IIS delivers the nice
 404 page I created.
 
 Is this a setting or just the way it is?
 
 
 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236934
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread S . Isaac Dealey
Yup... But they may not know about the fix for it (or that it's a
problem), so if you can send them explicit instructions they might be
willing to implement them. :)

Good luck with support. :)

 hrm, well, this for a shared host, where I have no access
 to that.

 I'm off to write to support people right now.

 Thanks again.

 S. Isaac Dealey wrote:
 There's a setting for that in your IIS site preferences.

 Home Directory tab
 Configuration button @ lower right
 select the .cfm extension and press the Edit button
 check or uncheck the check that file exists checkbox

 hth


 If my host allows me to have a 404 error page, why
 doesn't
 it work when
 using cf file extensions? Is this an IIS or other
 setting?
 When I go to
 (nonexistent) foo.cfm on my page, I get the File Not
 Found CF error.
 If I go to (nonexistent) foo.html, IIS delivers the nice
 404 page I created.

 Is this a setting or just the way it is?


 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm




 ~~
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236935
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread Ray Champagne
these instructions will suffice?  I'll just copy and paste, if that's 
the case.

S. Isaac Dealey wrote:
 Yup... But they may not know about the fix for it (or that it's a
 problem), so if you can send them explicit instructions they might be
 willing to implement them. :)
 
 Good luck with support. :)
 
 hrm, well, this for a shared host, where I have no access
 to that.
 
 I'm off to write to support people right now.
 
 Thanks again.
 
 S. Isaac Dealey wrote:
 There's a setting for that in your IIS site preferences.

 Home Directory tab
 Configuration button @ lower right
 select the .cfm extension and press the Edit button
 check or uncheck the check that file exists checkbox

 hth


 If my host allows me to have a 404 error page, why
 doesn't
 it work when
 using cf file extensions? Is this an IIS or other
 setting?
 When I go to
 (nonexistent) foo.cfm on my page, I get the File Not
 Found CF error.
 If I go to (nonexistent) foo.html, IIS delivers the nice
 404 page I created.
 Is this a setting or just the way it is?

 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm



 
 ~~

 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236936
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread atomi
Hi,
A buddy mentined this to me:
you can add a cferror type=exception template=errors.cfm /
in your Application.cfm-

Then you in the errors.cfm;
-
cfswitch expression=#cferror.type#
cfcase value=missinginclude
cfinclude template=missinginclude.cfm
/cfcase
cfdefaultcase
cfinclude template=generalerror.cfm
/cfdefaultcase
/cfswitch

i'm pretty sure that'll work.
atomi



On 4/4/06, S. Isaac Dealey [EMAIL PROTECTED] wrote:

 Yup... But they may not know about the fix for it (or that it's a
 problem), so if you can send them explicit instructions they might be
 willing to implement them. :)

 Good luck with support. :)

  hrm, well, this for a shared host, where I have no access
  to that.

  I'm off to write to support people right now.

  Thanks again.

  S. Isaac Dealey wrote:
  There's a setting for that in your IIS site preferences.
 
  Home Directory tab
  Configuration button @ lower right
  select the .cfm extension and press the Edit button
  check or uncheck the check that file exists checkbox
 
  hth
 
 
  If my host allows me to have a 404 error page, why
  doesn't
  it work when
  using cf file extensions? Is this an IIS or other
  setting?
  When I go to
  (nonexistent) foo.cfm on my page, I get the File Not
  Found CF error.
  If I go to (nonexistent) foo.html, IIS delivers the nice
  404 page I created.
 
  Is this a setting or just the way it is?
 
 
  s. isaac dealey 434.293.6201
  new epoch : isn't it time for a change?
 
  add features without fixtures with
  the onTap open source framework
 
  http://www.fusiontap.com
  http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

  ~~
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236937
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread S . Isaac Dealey
Well I hope so. :) If not I have to wonder why they're in the Windows
hosting business. :)

 these instructions will suffice?  I'll just copy and
 paste, if that's
 the case.

 S. Isaac Dealey wrote:
 Yup... But they may not know about the fix for it (or
 that it's a
 problem), so if you can send them explicit instructions
 they might be
 willing to implement them. :)

 Good luck with support. :)

 hrm, well, this for a shared host, where I have no
 access
 to that.

 I'm off to write to support people right now.

 Thanks again.

 S. Isaac Dealey wrote:
 There's a setting for that in your IIS site
 preferences.

 Home Directory tab
 Configuration button @ lower right
 select the .cfm extension and press the Edit button
 check or uncheck the check that file exists checkbox

 hth


 If my host allows me to have a 404 error page, why
 doesn't
 it work when
 using cf file extensions? Is this an IIS or other
 setting?
 When I go to
 (nonexistent) foo.cfm on my page, I get the File Not
 Found CF error.
 If I go to (nonexistent) foo.html, IIS delivers the
 nice
 404 page I created.
 Is this a setting or just the way it is?

 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm




 
 ~~




 ~~
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236939
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread Ray Champagne
They actually knew all about it, so Kudo's to CrystalTech for being in 
the know!

S. Isaac Dealey wrote:
 Yup... But they may not know about the fix for it (or that it's a
 problem), so if you can send them explicit instructions they might be
 willing to implement them. :)
 
 Good luck with support. :)
 
 hrm, well, this for a shared host, where I have no access
 to that.
 
 I'm off to write to support people right now.
 
 Thanks again.
 
 S. Isaac Dealey wrote:
 There's a setting for that in your IIS site preferences.

 Home Directory tab
 Configuration button @ lower right
 select the .cfm extension and press the Edit button
 check or uncheck the check that file exists checkbox

 hth


 If my host allows me to have a 404 error page, why
 doesn't
 it work when
 using cf file extensions? Is this an IIS or other
 setting?
 When I go to
 (nonexistent) foo.cfm on my page, I get the File Not
 Found CF error.
 If I go to (nonexistent) foo.html, IIS delivers the nice
 404 page I created.
 Is this a setting or just the way it is?

 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm



 
 ~~

 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236940
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404's

2006-04-04 Thread Ray Champagne
LOL, well I figured that.  I guess what I meant was that all there was 
to it.  But, I;ve got my answer now, in roundabout kinda way.

Thanks Ike.

S. Isaac Dealey wrote:
 Well I hope so. :) If not I have to wonder why they're in the Windows
 hosting business. :)
 
 these instructions will suffice?  I'll just copy and
 paste, if that's
 the case.
 
 S. Isaac Dealey wrote:
 Yup... But they may not know about the fix for it (or
 that it's a
 problem), so if you can send them explicit instructions
 they might be
 willing to implement them. :)

 Good luck with support. :)

 hrm, well, this for a shared host, where I have no
 access
 to that.
 I'm off to write to support people right now.
 Thanks again.
 S. Isaac Dealey wrote:
 There's a setting for that in your IIS site
 preferences.

 Home Directory tab
 Configuration button @ lower right
 select the .cfm extension and press the Edit button
 check or uncheck the check that file exists checkbox

 hth


 If my host allows me to have a 404 error page, why
 doesn't
 it work when
 using cf file extensions? Is this an IIS or other
 setting?
 When I go to
 (nonexistent) foo.cfm on my page, I get the File Not
 Found CF error.
 If I go to (nonexistent) foo.html, IIS delivers the
 nice
 404 page I created.
 Is this a setting or just the way it is?
 s. isaac dealey 434.293.6201
 new epoch : isn't it time for a change?

 add features without fixtures with
 the onTap open source framework

 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm



 
 ~~


 
 ~~

 
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236941
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: 404's

2006-04-04 Thread Dave Watts
 There's a setting for that in your IIS site preferences.
 
 Home Directory tab
 Configuration button @ lower right
 select the .cfm extension and press the Edit button check or 
 uncheck the check that file exists checkbox

That approach used to work, but I'm not sure it will with current versions
of CF on IIS. JRun configures IIS to use filters as well as extensions (or,
on IIS 6, an ISAPI wildcard extension which acts like a filter when it comes
to filename pattern matching). Disabling filters will effect Flash Remoting,
and may affect some other things as well. Instead, I'd recommend using the
site-wide missing template handler for CF's 404 errors, if possible.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236950
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 instead of 200 HTTP Header

2006-02-02 Thread James Holmes
Create a sitewide missing template handler and use CFHEADER in it.

On 2/2/06, Uwe Degenhardt [EMAIL PROTECTED] wrote:
 Hi list
 on a test-environment
 I want to change HTTP-Headers
 (for search engine optimization).

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231098
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 not found cfm page

2004-12-11 Thread John Beynon
or get them to check the check files exists box on the .cfm mappings
property for your particular site in the IIS config, then you use the
standard IIS 404 template


On Sat, 11 Dec 2004 01:32:09 -0400, Andrew Grosset [EMAIL PROTECTED] wrote:
 many thanks Mike, I'll try that.
 
 Andrew.
 
 
 
  It was asked in the last two weeks but not answered
 
  It was answered some weeks ago however.
 
  If you're on a windows system, you have to get your sysadmin to add
 .
  CFM in IIs to the list of files that the system 404 will recognise.
  Then implement custom 404s so it works for both .htm and html and .
  cfm
  and .cfml files
 
  Cheers
  Mike Kear
  Windsor, NSW, Australia
  AFP Webworks
  http://afpwebworks.com
 .
  com,.net,.org domains from AUD$20/Year
 
 
 
  On Sat, 11 Dec 2004 00:57:25 -0400, Andrew Grosset [EMAIL PROTECTED]
  com wrote:
   I know this question was answered sometime during the last two
  months but I can't find it...
  
   I can get html pages to return my own custom 404 page if not found
  but how do I get .cfm pages to return a 404 instead of the CF file
  not found custom error page.
  
   I am using CFMX 6.1 and am on a shared server.
  
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187182
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


[Reply To] Re: 404 not found cfm page

2004-12-11 Thread Seamus Campbell
Hi

I've also had this problem - just tried your solution (well got  
my ISP to do it for me) but doesn't seem to work. I'm on CF6  
windows server
I just get the standard cf error page and I have got my custom 404  
error template working for html files
Any clues please
Thanks
Seamus

 You wrote 
or get them to check the check files exists box on the .cfm  
mappings
property for your particular site in the IIS config, then you use  
the
standard IIS 404 template
Mike


Seamus Campbell   Boldacious WebDesign
http://www.boldacious.com      [EMAIL PROTECTED]
ph 02 6297 4883  mob 0410 609 267



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187187
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [Reply To] [Reply To] Re: 404 not found cfm page

2004-12-11 Thread Douglas Knudsen
also can use the 'missing template' handler setting in CFAdmin.

DK

On Sun, 12 Dec 2004 08:12:28 +1100, Seamus Campbell [EMAIL PROTECTED] wrote:
 Hi problem now solved
 seamus
 
  You wrote 
 
 
 Hi
 
 I've also had this problem - just tried your solution (well got
 
 my ISP to do it for me) but doesn't seem to work. I'm on CF6
 windows server
 I just get the standard cf error page and I have got my custom 404
 
 error template working for html files
 Any clues please
 Thanks
 Seamus
 
  You wrote 
 or get them to check the check files exists box on the .cfm
 mappings
 property for your particular site in the IIS config, then you use
 
 the
 standard IIS 404 template
 Mike
 
 Seamus Campbell   Boldacious WebDesign
 http://www.boldacious.com      [EMAIL PROTECTED]
 ph 02 6297 4883  mob 0410 609 267
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187237
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


[Reply To] [Reply To] Re: 404 not found cfm page

2004-12-11 Thread Seamus Campbell
Hi problem now solved
seamus

 You wrote 
Hi

I've also had this problem - just tried your solution (well got   

my ISP to do it for me) but doesn't seem to work. I'm on CF6  
windows server
I just get the standard cf error page and I have got my custom 404  
 
error template working for html files
Any clues please
Thanks
Seamus

 You wrote 
or get them to check the check files exists box on the .cfm  
mappings
property for your particular site in the IIS config, then you use  
 
the
standard IIS 404 template
Mike


Seamus Campbell   Boldacious WebDesign
http://www.boldacious.com      [EMAIL PROTECTED]
ph 02 6297 4883  mob 0410 609 267



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187230
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 not found cfm page

2004-12-10 Thread Mike Kear
It was asked in the last two weeks but not answered

It was answered some weeks ago however. 

If you're on a windows system, you have to get your sysadmin to add
.CFM in IIs to the list of files that the system 404 will recognise. 
Then implement custom 404s so it works for both .htm and html and .cfm
and .cfml files

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



On Sat, 11 Dec 2004 00:57:25 -0400, Andrew Grosset [EMAIL PROTECTED] wrote:
 I know this question was answered sometime during the last two months but I 
 can't find it...
 
 I can get html pages to return my own custom 404 page if not found but how do 
 I get .cfm pages to return a 404 instead of the CF file not found custom 
 error page.
 
 I am using CFMX 6.1 and am on a shared server.
 


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187179
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 not found cfm page

2004-12-10 Thread Andrew Grosset
many thanks Mike, I'll try that.

Andrew.

 It was asked in the last two weeks but not answered
 
 It was answered some weeks ago however. 
 
 If you're on a windows system, you have to get your sysadmin to add
.
 CFM in IIs to the list of files that the system 404 will recognise. 
 Then implement custom 404s so it works for both .htm and html and .
 cfm
 and .cfml files
 
 Cheers
 Mike Kear
 Windsor, NSW, Australia
 AFP Webworks
 http://afpwebworks.com
.
 com,.net,.org domains from AUD$20/Year
 
 
 
 On Sat, 11 Dec 2004 00:57:25 -0400, Andrew Grosset [EMAIL PROTECTED]
 com wrote:
  I know this question was answered sometime during the last two 
 months but I can't find it...
  
  I can get html pages to return my own custom 404 page if not found 
 but how do I get .cfm pages to return a 404 instead of the CF file 
 not found custom error page.
  
  I am using CFMX 6.1 and am on a shared server.
  


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187180
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-08 Thread Thomas Chiverton
On Friday 05 Nov 2004 14:22 pm, John Beynon wrote:
 there's no way to do it on per site basis in a single instance of CF,

You can have a (big) cfswitch in the handler that looks at the cgi.server_host 
(or whatever) to decide what to do.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer
Tel: +44 (0)1749 834900
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834XXX
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, 
BRISTOL. BS1 6EG
*** This E-mail contains confidential information for the addressee only. If 
you are not the intended recipient,
please notify us immediately. You should not use, disclose, distribute or copy 
this communication if received
in error. No binding contract will result from this e-mail until such time as 
a written document is signed on
behalf of the company. BlueFinger Limited cannot accept responsibility for the 
completeness or accuracy of
this message as it has been transmitted over public networks.***

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183592
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-08 Thread John Beynon
yeah, you can if it's your server but in a hosted environment thats
just not possible - or certainly something the hosts don't want to
maintain

jb.


On Mon, 8 Nov 2004 10:29:14 +, Thomas Chiverton
[EMAIL PROTECTED] wrote:
 On Friday 05 Nov 2004 14:22 pm, John Beynon wrote:
  there's no way to do it on per site basis in a single instance of CF,
 
 You can have a (big) cfswitch in the handler that looks at the cgi.server_host
 (or whatever) to decide what to do.
 
 --
 
 
 Tom Chiverton
 Advanced ColdFusion Programmer
 Tel: +44 (0)1749 834900
 email: [EMAIL PROTECTED]
 BlueFinger Limited
 Underwood Business Park
 Wookey Hole Road, WELLS. BA5 1AF
 Tel: +44 (0)1749 834900
 Fax: +44 (0)1749 834XXX
 web: www.bluefinger.com
 Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay,
 BRISTOL. BS1 6EG
 *** This E-mail contains confidential information for the addressee only. If
 you are not the intended recipient,
 please notify us immediately. You should not use, disclose, distribute or copy
 this communication if received
 in error. No binding contract will result from this e-mail until such time as
 a written document is signed on
 behalf of the company. BlueFinger Limited cannot accept responsibility for the
 completeness or accuracy of
 this message as it has been transmitted over public networks.***
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183594
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-08 Thread Thomas Chiverton
On Monday 08 Nov 2004 10:33 am, John Beynon wrote:
 yeah, you can if it's your server but in a hosted environment thats
 just not possible - or certainly something the hosts don't want to
 maintain

I would *imagine* it would be fairly simple for them to map from hostname, to 
location of disc of wwwroot, and then include a standard filename if it 
exists.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer
Tel: +44 (0)1749 834900
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834XXX
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, 
BRISTOL. BS1 6EG
*** This E-mail contains confidential information for the addressee only. If 
you are not the intended recipient,
please notify us immediately. You should not use, disclose, distribute or copy 
this communication if received
in error. No binding contract will result from this e-mail until such time as 
a written document is signed on
behalf of the company. BlueFinger Limited cannot accept responsibility for the 
completeness or accuracy of
this message as it has been transmitted over public networks.***

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183602
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-08 Thread Matt Robertson
Here's the important part of my CF 404 handler.  Not much for a shared
server admin to maintain:

CFIF not isdefined (error.diagnostics)
!---not defined. must be a 404---
cfset variables.GoPage=http://;  CGI.SERVER_NAME
CFLOCATION URL=#variables.GoPage# ADDTOKEN=No
/CFIF

That one code bit runs for an entire server with about 4 dozen sites on it.

If a page is not found, the user gets to the site's home page. 
Automatic linkrot fixer.
Just in case, If the variable is defined an error handler bats cleanup.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183666
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-05 Thread Thomas Chiverton
Set the handler in the administrator.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer
Tel: +44 (0)1749 834900
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834XXX
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, 
BRISTOL. BS1 6EG
*** This E-mail contains confidential information for the addressee only. If 
you are not the intended recipient,
please notify us immediately. You should not use, disclose, distribute or copy 
this communication if received
in error. No binding contract will result from this e-mail until such time as 
a written document is signed on
behalf of the company. BlueFinger Limited cannot accept responsibility for the 
completeness or accuracy of
this message as it has been transmitted over public networks.***

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183469
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-05 Thread Mike Kear
Thanks Thomas.

I should also have added that we're in a shared host environment, and
I have 4 sites on this same server that I want to use custom error
templates on. I dont want to have one site getting the 'page not
found' for another site.

There's no way for a coldfusion template missing  template on a
site-by-site basis?


Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year


On Fri, 5 Nov 2004 13:42:20 +, Thomas Chiverton
[EMAIL PROTECTED] wrote:
 Set the handler in the administrator.
 
 --
 Tom Chiverton
 Advanced ColdFusion Programmer
 Tel: +44 (0)1749 834900
 email: [EMAIL PROTECTED]
 BlueFinger Limited
 Underwood Business Park
 Wookey Hole Road, WELLS. BA5 1AF
 Tel: +44 (0)1749 834900
 Fax: +44 (0)1749 834XXX
 web: www.bluefinger.com
 Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay,
 BRISTOL. BS1 6EG
 *** This E-mail contains confidential information for the addressee only. If
 you are not the intended recipient,
 please notify us immediately. You should not use, disclose, distribute or copy
 this communication if received
 in error. No binding contract will result from this e-mail until such time as
 a written document is signed on
 behalf of the company. BlueFinger Limited cannot accept responsibility for the
 completeness or accuracy of
 this message as it has been transmitted over public networks.***
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183473
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-05 Thread John Beynon
if you want IIS to handle them then open up the application mappings
in the IIS admin and look at the .cfm file, check the file exists box,

jb.


On Fri, 5 Nov 2004 13:42:20 +, Thomas Chiverton
[EMAIL PROTECTED] wrote:
 Set the handler in the administrator.
 
 --
 Tom Chiverton
 Advanced ColdFusion Programmer
 Tel: +44 (0)1749 834900
 email: [EMAIL PROTECTED]
 BlueFinger Limited
 Underwood Business Park
 Wookey Hole Road, WELLS. BA5 1AF
 Tel: +44 (0)1749 834900
 Fax: +44 (0)1749 834XXX
 web: www.bluefinger.com
 Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay,
 BRISTOL. BS1 6EG
 *** This E-mail contains confidential information for the addressee only. If
 you are not the intended recipient,
 please notify us immediately. You should not use, disclose, distribute or copy
 this communication if received
 in error. No binding contract will result from this e-mail until such time as
 a written document is signed on
 behalf of the company. BlueFinger Limited cannot accept responsibility for the
 completeness or accuracy of
 this message as it has been transmitted over public networks.***
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183474
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-05 Thread Mike Kear
Thanks for your suggestion John. 

There's no way to do it in my own sites? i have to get the system guys
in the hosting company to do it?

The control panel we use turns on custom 404s (and other IIs error
messages) but doesnt do it for CFM.  So I have to build something in
coldfusion to handle it, or else beg and plead for the system guys at
the hosting company (who arent anywhere near as accommodating I am
with my own hosting clients) to do it.  These fellas have the view
that if i want something, then I must be up to some skullduggery by
default.  their default answer to anything is no.  (Please dont
suggest moving hosts - if the client was going to do that I'd have
moved them to my servers ages ago!).

All i need to do is have some kind of 'missing template' handler for
coldfusion templates, implented on a site basis not a server-wide
basis.

Apparently, judging by the lack of ideas of how to do it,  it can't be
done.   No?


Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



On Fri, 5 Nov 2004 13:48:17 +, John Beynon [EMAIL PROTECTED] wrote:
 if you want IIS to handle them then open up the application mappings
 in the IIS admin and look at the .cfm file, check the file exists box,
 
 jb.


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183480
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-05 Thread dave
u need to have your host enable it for u
just went through that


-- Original Message --
From: Mike Kear [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Sat, 6 Nov 2004 01:16:08 +1100

Thanks for your suggestion John. 

There's no way to do it in my own sites? i have to get the system guys
in the hosting company to do it?

The control panel we use turns on custom 404s (and other IIs error
messages) but doesnt do it for CFM.  So I have to build something in
coldfusion to handle it, or else beg and plead for the system guys at
the hosting company (who arent anywhere near as accommodating I am
with my own hosting clients) to do it.  These fellas have the view
that if i want something, then I must be up to some skullduggery by
default.  their default answer to anything is no.  (Please dont
suggest moving hosts - if the client was going to do that I'd have
moved them to my servers ages ago!).

All i need to do is have some kind of 'missing template' handler for
coldfusion templates, implented on a site basis not a server-wide
basis.

Apparently, judging by the lack of ideas of how to do it,  it can't be
done.   No?


Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



On Fri, 5 Nov 2004 13:48:17 +, John Beynon [EMAIL PROTECTED] wrote:
 if you want IIS to handle them then open up the application mappings
 in the IIS admin and look at the .cfm file, check the file exists box,
 
 jb.




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183482
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-05 Thread dave
appears we are having some race conditons here, thats 2x today it has posted under 
wrong post
sorry was supposed to be under the 404 one


-- Original Message --
From: Mike Kear [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Sat, 6 Nov 2004 01:16:08 +1100

Thanks for your suggestion John. 

There's no way to do it in my own sites? i have to get the system guys
in the hosting company to do it?

The control panel we use turns on custom 404s (and other IIs error
messages) but doesnt do it for CFM.  So I have to build something in
coldfusion to handle it, or else beg and plead for the system guys at
the hosting company (who arent anywhere near as accommodating I am
with my own hosting clients) to do it.  These fellas have the view
that if i want something, then I must be up to some skullduggery by
default.  their default answer to anything is no.  (Please dont
suggest moving hosts - if the client was going to do that I'd have
moved them to my servers ages ago!).

All i need to do is have some kind of 'missing template' handler for
coldfusion templates, implented on a site basis not a server-wide
basis.

Apparently, judging by the lack of ideas of how to do it,  it can't be
done.   No?


Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



On Fri, 5 Nov 2004 13:48:17 +, John Beynon [EMAIL PROTECTED] wrote:
 if you want IIS to handle them then open up the application mappings
 in the IIS admin and look at the .cfm file, check the file exists box,
 
 jb.




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183483
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: 404 Error handler for ColdFusion?

2004-11-05 Thread John Beynon
there's no way to do it on per site basis in a single instance of CF, 
- unless you are able to create a 'global' missing template handler in
the cfadmin and have it redirect to the site that threw the error -
but in a hosted environment it's tough to persuede them!



On Sat, 6 Nov 2004 01:16:08 +1100, Mike Kear [EMAIL PROTECTED] wrote:
 Thanks for your suggestion John.
 
 There's no way to do it in my own sites? i have to get the system guys
 in the hosting company to do it?
 
 The control panel we use turns on custom 404s (and other IIs error
 messages) but doesnt do it for CFM.  So I have to build something in
 coldfusion to handle it, or else beg and plead for the system guys at
 the hosting company (who arent anywhere near as accommodating I am
 with my own hosting clients) to do it.  These fellas have the view
 that if i want something, then I must be up to some skullduggery by
 default.  their default answer to anything is no.  (Please dont
 suggest moving hosts - if the client was going to do that I'd have
 moved them to my servers ages ago!).
 
 All i need to do is have some kind of 'missing template' handler for
 coldfusion templates, implented on a site basis not a server-wide
 basis.
 
 Apparently, judging by the lack of ideas of how to do it,  it can't be
 done.   No?
 
 
 
 
 Cheers
 Mike Kear
 Windsor, NSW, Australia
 AFP Webworks
 http://afpwebworks.com
 .com,.net,.org domains from AUD$20/Year
 
 On Fri, 5 Nov 2004 13:48:17 +, John Beynon [EMAIL PROTECTED] wrote:
  if you want IIS to handle them then open up the application mappings
  in the IIS admin and look at the .cfm file, check the file exists box,
 
  jb.
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183484
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >