RE: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103736
interpreted = N
texte = Hi Donovan, Thanks so much for the free Lic change if we go the Linux way. You are indeed a kind soul. Nevertheless, I am keeping this puppy and will be getting another Win Lic soon. Why, this current Lic is for the server that is co-located at my outsource provider. I have another server due in, also Win which will act as a back-up to the co-located one to be based on my own network. I hate the idea of being held powerless should my provider experience any problem. I can simply switch IP address and all is fine till the problem if any is resolved. In this part of the world, they love their MS product and I have to give them what they want. We develop a lot of Black Box Solution for clients and they want their back-end to be MS Win Server. Right now, I am hanging on for your final release of an all seeing and all doing Installer for Win 2008 server and IIS 7.0. It is damn hard to get 2003 server these days for new server purchases. Regards the issue I raised ...I believe we have found a simple workaround. Thank god for our trusty old WebDNA 4.5 running on Mac G4 with the help of Dynamic DNS re-assignment ...we get what we need. We also solved the IIS 6 bit ...not pretty but it works. So life goes on. Thanks so much for your help. It is the weekend my friend ....take a break, knock-up the wife or go golfing. Solving "Wonky" issues should be done 9 to 5 on office hours. Seriously though, thanks for sounding out. Cheers TDn ...WebDNA rules but not on weekends OK, at least for you and the boys at WSC. -----Original Message----- From: Donovan Brooke [mailto:dbrooke@webdna.us] Sent: Sunday, October 04, 2009 06:01 To: talk@webdna.us Subject: Re: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 Terry Nair wrote: > Hi Donovan, > > IIS6 Windows 2003 does not handover the 400 Bad Request to WebDNA ...this I > can confirm. IIS 5 does. Simple test ...just point to a non-existent .htm > file (i.e. www.yyy.com/xxx.htm) and on IIS 5, the Errormessage DB is shown. > On IIS 6, it does not show up but the default kernel produced page (we are > all powerless to change this). Confirmed, kind of... technically, this is the description of a 404 status code, not 400. It appears IIS6 does a check for the existance of a file before the request is handed over to WebDNA... which is Wonky <-- Donovan's new favorite word. > Note that pointing to a non-existent folder (i.e. www.yyy.com/xxx/) will > point to the server default 400 page ...not through WebDNA Errormessage DB > ...both for IIS 5 and IIS 6. right... WebDNA only gets to look at files that are mapped to it via a suffix. Non existent directories would never be mapped to WebDNA for handling, nor would they assume an index file with appropriate mapping to WebDNA. > I am addressing the missing file and not folder URL type convention. You > see, when we run our monthly server maintenance back-up, we point the usual > domain URL link to an empty root directory. We want it that way so that we > can use the WebDNA Erromessage DB to issue codes in the return message when > a link is missing to a file that should be there. Meanwhile, we can do the > maintenance on the actual root folder. Maintenance completed, we switch back > the root to the original folder. We have POS terminal connected to the > WebDNA server DB 24/7 updating transactions ...so we have to issue one > paired value in the response when we take the system down for a short while. > The POS terminal are running our custom applications where if it finds the > maintenance code, escape to a holding page and prompts user. Anyway, this > works for ages on IIS 5 but not on our sparking new IIS 6 box which is 24 > days old ...damn. > > Hope that explain things a bit better and ...you bet, Status 400 is seen by > WebDNA for missing file (IIS 5 only) not folder ...;=) > > Cheers TDn Hmmm, Sorry, I'm not a Windows guy at heart and don't know of a solid solution.. however, it appears from some quick googlefu that you can create a custom page that is a redirect for use as your IIS 6 404 file. You may be able to build a system without too much trouble by taking the code you have in the 404 line of the errormessages.db and sticking it into some webdnafile... then, build that IIS redirect file and redirect to that new WebDNA file. The trick would then be making sure you are capturing all the original postdata... which I'm not sure how to do. Good luck, Donovan P.S. if you find that you would rather install linux on your new PC, We can do a free exchange of your recent Lic. purchase. -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us old archives: http://dev.webdna.us/TalkListArchive/ Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 ("Terry Nair" 2009)
  2. Re: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 (Donovan Brooke 2009)
  3. RE: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 ("Terry Nair" 2009)
  4. RE: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 ("Terry Nair" 2009)
  5. Re: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 (Eddie Z 2009)
  6. Re: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 (Donovan Brooke 2009)
  7. RE: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 ("Terry Nair" 2009)
Hi Donovan, Thanks so much for the free Lic change if we go the Linux way. You are indeed a kind soul. Nevertheless, I am keeping this puppy and will be getting another Win Lic soon. Why, this current Lic is for the server that is co-located at my outsource provider. I have another server due in, also Win which will act as a back-up to the co-located one to be based on my own network. I hate the idea of being held powerless should my provider experience any problem. I can simply switch IP address and all is fine till the problem if any is resolved. In this part of the world, they love their MS product and I have to give them what they want. We develop a lot of Black Box Solution for clients and they want their back-end to be MS Win Server. Right now, I am hanging on for your final release of an all seeing and all doing Installer for Win 2008 server and IIS 7.0. It is damn hard to get 2003 server these days for new server purchases. Regards the issue I raised ...I believe we have found a simple workaround. Thank god for our trusty old WebDNA 4.5 running on Mac G4 with the help of Dynamic DNS re-assignment ...we get what we need. We also solved the IIS 6 bit ...not pretty but it works. So life goes on. Thanks so much for your help. It is the weekend my friend ....take a break, knock-up the wife or go golfing. Solving "Wonky" issues should be done 9 to 5 on office hours. Seriously though, thanks for sounding out. Cheers TDn ...WebDNA rules but not on weekends OK, at least for you and the boys at WSC. -----Original Message----- From: Donovan Brooke [mailto:dbrooke@webdna.us] Sent: Sunday, October 04, 2009 06:01 To: talk@webdna.us Subject: Re: [WebDNA] IIS 6.0 Custom Errors & WebDNA 6.2 Terry Nair wrote: > Hi Donovan, > > IIS6 Windows 2003 does not handover the 400 Bad Request to WebDNA ...this I > can confirm. IIS 5 does. Simple test ...just point to a non-existent .htm > file (i.e. www.yyy.com/xxx.htm) and on IIS 5, the Errormessage DB is shown. > On IIS 6, it does not show up but the default kernel produced page (we are > all powerless to change this). Confirmed, kind of... technically, this is the description of a 404 status code, not 400. It appears IIS6 does a check for the existance of a file before the request is handed over to WebDNA... which is Wonky <-- Donovan's new favorite word. > Note that pointing to a non-existent folder (i.e. www.yyy.com/xxx/) will > point to the server default 400 page ...not through WebDNA Errormessage DB > ...both for IIS 5 and IIS 6. right... WebDNA only gets to look at files that are mapped to it via a suffix. Non existent directories would never be mapped to WebDNA for handling, nor would they assume an index file with appropriate mapping to WebDNA. > I am addressing the missing file and not folder URL type convention. You > see, when we run our monthly server maintenance back-up, we point the usual > domain URL link to an empty root directory. We want it that way so that we > can use the WebDNA Erromessage DB to issue codes in the return message when > a link is missing to a file that should be there. Meanwhile, we can do the > maintenance on the actual root folder. Maintenance completed, we switch back > the root to the original folder. We have POS terminal connected to the > WebDNA server DB 24/7 updating transactions ...so we have to issue one > paired value in the response when we take the system down for a short while. > The POS terminal are running our custom applications where if it finds the > maintenance code, escape to a holding page and prompts user. Anyway, this > works for ages on IIS 5 but not on our sparking new IIS 6 box which is 24 > days old ...damn. > > Hope that explain things a bit better and ...you bet, Status 400 is seen by > WebDNA for missing file (IIS 5 only) not folder ...;=) > > Cheers TDn Hmmm, Sorry, I'm not a Windows guy at heart and don't know of a solid solution.. however, it appears from some quick googlefu that you can create a custom page that is a redirect for use as your IIS 6 404 file. You may be able to build a system without too much trouble by taking the code you have in the 404 line of the errormessages.db and sticking it into some webdnafile... then, build that IIS redirect file and redirect to that new WebDNA file. The trick would then be making sure you are capturing all the original postdata... which I'm not sure how to do. Good luck, Donovan P.S. if you find that you would rather install linux on your new PC, We can do a free exchange of your recent Lic. purchase. -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us old archives: http://dev.webdna.us/TalkListArchive/ Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 "Terry Nair"

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:

Emailer (1998) cart limit (2002) Webcat run amuk (2002) WCS Newbie question (1997) Country & Ship-to address & other fields ? (1997) WebDNA 5.0 Enterprise Edition (2003) NT b19 sends extra MIME headers (1997) Two submit buttons ? (1997) WebDelivery Text (1998) Frames and WebCat (1997) Cookies? (1997) [founditems] & radiobuttons (2002) WebCat2final1 crashes (1997) More on the email templates (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Strange search... (2001) Windows nt service pack 3 upgrade (1997) Database Field Additions (2000) DON'T use old cart file! (1997) What is WebDNA (1997)