Re: [WebDNA] [SETMIMEHEADER]

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110594
interpreted = N
texte = All working now ! I amended the WebDNA.conf file as follows AddType text/html .tpl .dna AddType application/json .json AddHandler webcatalog2-handler .tpl .tmpl .html .htm .dna .json You can all go back to sleep now, I am going home too :) Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 30/08/2013, at 8:04 PM, WebDNA wrote: > OR=20 >=20 > How can I get WebDNA to process .json files ? >=20 > I have the extension set in the prefs but all I get is RAW code. >=20 > Does WebDNA not process when the MIME TYPE is application/json ? >=20 > I think this was the problem I had once before hence why I have tried = to force the mim type with [SETMIMEHEADER], but it doesn't seem to work = on Linux platform. >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > On 30/08/2013, at 7:41 PM, WebDNA wrote: >=20 >> I have successfully done this on a windows server but can not get it = to work on Ubuntu 12.04 >>=20 >> WebDNA 6.x >>=20 >> [SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json; = charset=3Dutf-8] >>=20 >> Any ideas ? >>=20 >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > 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 > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [SETMIMEHEADER] (WebDNA 2013)
  2. Re: [WebDNA] [SETMIMEHEADER] (WebDNA 2013)
  3. [WebDNA] [SETMIMEHEADER] (WebDNA 2013)
All working now ! I amended the WebDNA.conf file as follows AddType text/html .tpl .dna AddType application/json .json AddHandler webcatalog2-handler .tpl .tmpl .html .htm .dna .json You can all go back to sleep now, I am going home too :) Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 30/08/2013, at 8:04 PM, WebDNA wrote: > OR=20 >=20 > How can I get WebDNA to process .json files ? >=20 > I have the extension set in the prefs but all I get is RAW code. >=20 > Does WebDNA not process when the MIME TYPE is application/json ? >=20 > I think this was the problem I had once before hence why I have tried = to force the mim type with [setmimeheader], but it doesn't seem to work = on Linux platform. >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > On 30/08/2013, at 7:41 PM, WebDNA wrote: >=20 >> I have successfully done this on a windows server but can not get it = to work on Ubuntu 12.04 >>=20 >> WebDNA 6.x >>=20 >> [SETMIMEHEADER name=3DContent-Type&value=3Dapplication/json; = charset=3Dutf-8] >>=20 >> Any ideas ? >>=20 >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > 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 > Bug Reporting: support@webdna.us WebDNA

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:

iPLanet (2001) Re:trouble (1997) 3.0 [TEXT] variables (1998) wierd [cart] action! (1997) How to Display text in empty fields (1997) Answer: WebDelivery downloads alias, not original ? (1997) [WebDNA] SWITCH/CASE or SHOWIF (2008) vcode (2003) Multiple Ad databases? (1997) Images in WebCat (2000) [UPPERCASE] (1997) Re:WebDNA Writer Needed (1997) Upload Plugin (1998) text size limitation (1997) SSI *nix 4.5 build (2002) Fwd: 502 Bad Gateway (1998) Slightly [OT] - Finding host names (1999) NT vs Mac (1997) WebDNA performance comparisons? (2004) Multiple servers and Webcat (1998)