Re: [WebDNA] lighttpd problem with returnraw http header

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 113971
interpreted = N
texte = 1571 Hi Noah, Most of us will not have this problem because we use apache. Are you forced to use the new version of lighttpd, or can you revert to the previous version? If you can go back to the previous version I suggest doing so since it was working the way you want it to work. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 02/15/2018 04:49 AM, Noah Valley wrote: > Hi everybody, >=20 > We use lighttpd with webdna 8. > We have set=C2=A0server.error_handler_404 =3D =E2=80=9Cdispatch.dna=E2=80= =9D - Now all > request go to dispatch.dna (except static files (images, css, js,=E2=80= =A6)) > In=C2=A0dispatch.dna=C2=A0webdna looks up [thisurl] in the database (an= d > does lots of other stuff) and decides which HTTP response to > return (200,401,404,301,302,=E2=80=A6) with returnraw (see code below). >=20 > It has all worked fine till lighttpd 1.4.45, now with 1.4.46 > something changed: > Now it works kinda for 404,301,302. > It does not with 200 (I get 2 headers in the http response, only > the first is used, the second is shown as plain text, but then the > content-length is not correct=E2=80=A6 - idk). > Also 401: The server answers with a 401 but does not deliver my > html-error-page but delivers the standard html =E2=80=9C401 - Unauthori= zed=E2=80=9D... >=20 > Do you have the same problem? Is it a bug, or it just now works > like this? Ist there any =E2=80=9Cfix=E2=80=9D on the horizon for webdn= a or is it > a lighttpd-thing? >=20 > Thanks > Noah --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] lighttpd problem with returnraw http header (Brian Harrington 2018)
  2. Re: [WebDNA] lighttpd problem with returnraw http header (Kenneth Grome 2018)
  3. Re: [WebDNA] lighttpd problem with returnraw http header (Noah Valley 2018)
  4. Re: [WebDNA] lighttpd problem with returnraw http header (Stuart Tremain 2018)
  5. Re: [WebDNA] lighttpd problem with returnraw http header (Kenneth Grome 2018)
  6. [WebDNA] lighttpd problem with returnraw http header (Noah Valley 2018)
1571 Hi Noah, Most of us will not have this problem because we use apache. Are you forced to use the new version of lighttpd, or can you revert to the previous version? If you can go back to the previous version I suggest doing so since it was working the way you want it to work. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 02/15/2018 04:49 AM, Noah Valley wrote: > Hi everybody, >=20 > We use lighttpd with webdna 8. > We have set=C2=A0server.error_handler_404 =3D =E2=80=9Cdispatch.dna=E2=80= =9D - Now all > request go to dispatch.dna (except static files (images, css, js,=E2=80= =A6)) > In=C2=A0dispatch.dna=C2=A0webdna looks up [thisurl] in the database (an= d > does lots of other stuff) and decides which HTTP response to > return (200,401,404,301,302,=E2=80=A6) with returnraw (see code below). >=20 > It has all worked fine till lighttpd 1.4.45, now with 1.4.46 > something changed: > Now it works kinda for 404,301,302. > It does not with 200 (I get 2 headers in the http response, only > the first is used, the second is shown as plain text, but then the > content-length is not correct=E2=80=A6 - idk). > Also 401: The server answers with a 401 but does not deliver my > html-error-page but delivers the standard html =E2=80=9C401 - Unauthori= zed=E2=80=9D... >=20 > Do you have the same problem? Is it a bug, or it just now works > like this? Ist there any =E2=80=9Cfix=E2=80=9D on the horizon for webdn= a or is it > a lighttpd-thing? >=20 > Thanks > Noah --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us . Kenneth Grome

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:

PCS Frames (1997) OT: Dynamic table equivalent (2008) textarea inputs and returns (1999) Help name our technology! (1997) Couple of questions (1999) WCS Newbie question (1997) Concerning Emailer under Linux... does it exist? (2000) Location of Browser Info.txt file (1997) Help w/Multi User Admins (1997) service stop and restart (1997) More Shopping Cart Problems (2000) Bug or syntax error on my part? (1997) Web*3 virtual hosting Webcatalog problem + Vicom bonus (1998) Need some assistance. (1999) Webcat2, WebCommerce, Mod 10 etc. (1997) WebDNA 5.1 is now available! (2003) security problem (1997) formulas.db [feature request] (2003) ReturnRaw Returns (2000) taxTotal, grandTotal (1997)