Re: WebCatalog 4.0.2b5 available
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35844
interpreted = N
texte = Grant - WebSite allows me to save the CGI-created text as files, as they would be sent out by WS; it's under Logging options (API/CGI Execution). I realize that IIS should be acting the same way; is there a similar option under IIS for CGI debugging? No other CGI emits cr/cr/lf under WebSite, so that kind of limits it to WebCat.Can I run $WebCat.exe as a standalone app in a DOS box? Hmm, it appears that I can. Look at the included file, generated by running $WebCat.exe > testfile.txtHere it is (using Less.exe):HTTP/1.0 200 OK^MContent-type: text/htmlContent-Length: 120^M^MError: template '' not foundError: template security preferences do notallow remote access to files with that extensionThose ^M's are embedded additional carriage returns! If I look at thetestfile.txt file in hex mode, I see the exact 0D 0D 0A (i.e. cr/cr/lf).Why IIS is filtering these out is beyond me; normal CGI behavior is forthe webserver to transmit exactly what the CGI generates. Doesn'tsuprise me that IIS is messing with the content.So, it has to be something in the NT version of $WebCat.exe!QEDJohn PeacockGrant Hulbert wrote:> > >I can 100% prove that WebCat is emitting the cr/cr/lf pairs, because I> >just turned on CGI debugging and see them in the raw file that WebCat> >creates. WebSite only sends out what WebCat hands it; is it possible> >that IIS actually parses through the files and fixes up the bad EOL> >characters?> > WebCatalog does not create any such raw files, so perhaps it's> WebSite's CGI->HTTP transport mechanism that's introducing them.> Unless you think it's $WebCat.exe that's inserting them? If so, it> would insert them under IIS too.> > --> Grant Hulbert, Director of Engineering **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> Main Line: (858) 675-1106 | http://www.smithmicro.com> Fax: (858) 675-0372 **********************************> > #############################################################> 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 > To switch to the INDEX mode, E-mail to > Send administrative queries to #############################################################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 To switch to the INDEX mode, E-mail to Send administrative queries to
Associated Messages, from the most recent to the oldest:
Grant - WebSite allows me to save the CGI-created text as files, as they would be sent out by WS; it's under Logging options (API/CGI Execution). I realize that IIS should be acting the same way; is there a similar option under IIS for CGI debugging? No other CGI emits cr/cr/lf under WebSite, so that kind of limits it to WebCat.Can I run $WebCat.exe as a standalone app in a DOS box? Hmm, it appears that I can. Look at the included file, generated by running $WebCat.exe > testfile.txtHere it is (using Less.exe):HTTP/1.0 200 OK^MContent-type: text/htmlContent-Length: 120^M^MError: template '' not foundError: template security preferences do notallow remote access to files with that extensionThose ^M's are embedded additional carriage returns! If I look at thetestfile.txt file in hex mode, I see the exact 0D 0D 0A (i.e. cr/cr/lf).Why IIS is filtering these out is beyond me; normal CGI behavior is forthe webserver to transmit exactly what the CGI generates. Doesn'tsuprise me that IIS is messing with the content.So, it has to be something in the NT version of $WebCat.exe!QEDJohn PeacockGrant Hulbert wrote:> > >I can 100% prove that WebCat is emitting the cr/cr/lf pairs, because I> >just turned on CGI debugging and see them in the raw file that WebCat> >creates. WebSite only sends out what WebCat hands it; is it possible> >that IIS actually parses through the files and fixes up the bad EOL> >characters?> > WebCatalog does not create any such raw files, so perhaps it's> WebSite's CGI->HTTP transport mechanism that's introducing them.> Unless you think it's $WebCat.exe that's inserting them? If so, it> would insert them under IIS too.> > --> Grant Hulbert, Director of Engineering **********************************> Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)> 16855 West Bernardo Drive, #380 | -------------------------> San Diego, CA 92127 | Software & Site Development> Main Line: (858) 675-1106 | http://www.smithmicro.com> Fax: (858) 675-0372 **********************************> > #############################################################> 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 > To switch to the INDEX mode, E-mail to > Send administrative queries to #############################################################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 To switch to the INDEX mode, E-mail to Send administrative queries to
John Peacock
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:
[WebDNA] fileinfo - need photo w & h written to a database (2016)
Bad Cookie / Internet Option / Internet Explorer (2004)
Cannot calculate prices (1997)
Date or time comparisons have bugs ... (1998)
Nested tags count question (1997)
[OT] Certs (2002)
relogin same user? (1998)
two unique banners on one page (1997)
Configuring E-mail (1997)
More questions about serial number dishing (1997)
emailer (1997)
Date Formats (1997)
DB approach question (2000)
nested ListWords? (2003)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
FileMaker Pro (1999)
Version Question (2000)
Need help with emailer- 2 issues (1997)
WebCat for mass emailings (1997)
form image (2000)