Re: 404's
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
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
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
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
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
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
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
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's
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
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
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
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
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
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
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
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
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
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's
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
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
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
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
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
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
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
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
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