Re: Error page & W2003 -SOLVED

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62639
interpreted = N
texte = Well after plenty of hacking around I came up with the solution. What was happening: When a page could not be found IIS was serving up its own 404 page. The request was not even going through WebDNA, I proved this by the fact that the errormessages.db was not being hit. I wanted errormessages.db to collect the missing page info so that I could serve up a dynamic 404 page. What to do: For a server wide solution (just do it for individual sites if required) 1. Open IIS Manager 2. Click web sites 3. Get properties 4. Select "Home Directories" 5. Click "Configuration" 6. Select the extension that you use ie .html, .tpl, .dna etc 7. Click "Edit" 8. Ensure that "Verify that file exists" is NOT checked. Now WebCat and its errormessages.db will handle missing files instead of the generic page served up by IIS. Stuart Tremain idfk web developments, sydney, australia On 21 Jul 2005, at 2:20 PM, Stuart Tremain wrote: > Hi > > Is it my imagination or does w2003 server handle 404 differently to > w2000. > > I am trying to handle 404 errors using the errors.db as I have done > on our w2k server but it redirects to the Windows 404 error page. > > > Stuart Tremain > idfk web developments, sydney, australia > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: 404 error page issue ( "Dan Strong" 2006)
  2. Re: 404 error page issue ( Jesse Proudman 2006)
  3. Re: 404 error page issue ( "Dan Strong" 2006)
  4. Re: 404 error page issue ( "paul" 2006)
  5. Re: 404 error page issue ( "Dan Strong" 2006)
  6. Re: 404 error page issue ( "paul" 2006)
  7. Re: 404 error page issue ( "Dan Strong" 2006)
  8. Re: 404 error page issue ( "paul" 2006)
  9. Re: 404 error page issue ( "Dan Strong" 2006)
  10. Re: 404 error page issue ( "paul" 2005)
  11. Re: Error page & W2003 -SOLVED ( Stuart Tremain 2005)
  12. Error page & W2003 ( Stuart Tremain 2005)
  13. Re: Error page mapping problems (Donovan 2002)
  14. Re: Error page mapping problems (Alain Russell 2002)
  15. Re: Error page mapping problems (Paul Berman 2002)
Well after plenty of hacking around I came up with the solution. What was happening: When a page could not be found IIS was serving up its own 404 page. The request was not even going through WebDNA, I proved this by the fact that the errormessages.db was not being hit. I wanted errormessages.db to collect the missing page info so that I could serve up a dynamic 404 page. What to do: For a server wide solution (just do it for individual sites if required) 1. Open IIS Manager 2. Click web sites 3. Get properties 4. Select "Home Directories" 5. Click "Configuration" 6. Select the extension that you use ie .html, .tpl, .dna etc 7. Click "Edit" 8. Ensure that "Verify that file exists" is NOT checked. Now WebCat and its errormessages.db will handle missing files instead of the generic page served up by IIS. Stuart Tremain idfk web developments, sydney, australia On 21 Jul 2005, at 2:20 PM, Stuart Tremain wrote: > Hi > > Is it my imagination or does w2003 server handle 404 differently to > w2000. > > I am trying to handle 404 errors using the errors.db as I have done > on our w2k server but it redirects to the Windows 404 error page. > > > Stuart Tremain > idfk web developments, sydney, australia > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

quantity minimum problem (1997) Resume Catalog ? (1997) ReadDateFormat bug in 3.x (1998) Forms Search Questions (1997) MOOOOOO (2000) Secure server question (1997) Mac Lockup Problems (1998) [WebDNA] Advices for Linux Config (2017) order problem (2006) [dos] command and [math] (1998) form data submission gets truncated (1997) Re:[ShowIf] and empty fields (1997) automatic reload of frameset (1997) can WC render sites out? (1997) combining strings (1997) WebCat2 - [format thousands] (1997) [WebDNA] shopping sites and the "old commerce tags" (2012) New Site Announcement (1998) transferring values (1998) Webcat2, WebCommerce, Mod 10 etc. (1997)