Re: setting HTTP response header

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20032
interpreted = N
texte = >Is any way to set the server response code (ie HTTP/1.0 301 Moved >Permenantly or HTTP/1.0 404 Not Found) via WebCat? I've looked at >[SetMimeHeader] and it doesn't look like you can set this. Nor does it look >like WebCat sets the response to a 404 when it does a TemplateNotFound. > >WebCat 2.1.1 acgi, WebStar 2.0Use the [ReturnRaw] context instead and write your own header. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: setting HTTP response header (Christer Olsson 1998)
  2. setting HTTP response header (Dave MacLeay 1998)
>Is any way to set the server response code (ie HTTP/1.0 301 Moved >Permenantly or HTTP/1.0 404 Not Found) via WebCat? I've looked at >[setmimeheader] and it doesn't look like you can set this. Nor does it look >like WebCat sets the response to a 404 when it does a TemplateNotFound. > >WebCat 2.1.1 acgi, WebStar 2.0Use the [returnraw] context instead and write your own header. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Christer Olsson

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:

WC2.0 Memory Requirements (1997) Emailer port change (1997) (1997) two unique banners on one page (1997) [WebDNA] Extract a JS variable into a form input value which can be stored in (2019) [WebDNA] Session timeout solution (2010) [math] show=F exists? (1997) BinaryBody problem FIXED (2003) [WebDNA] Populate Bootstrap Modal with AJAX WebDNA (2015) TPL Asks For Authentication (2004) Running _every_ page through WebCat ? (1997) Question from a Neebie (2000) Roundup (2001) WebCat2 - storing unformatted date data? (1997) redirect with frames (1997) FAX orders (1996) Stumped by [thisUrl] (2006) Not really WebCat- (1997) Adding new customer numbers sequentially (1997) two unique banners on one page (1997)