Re: [WebDNA] lighttpd problem with returnraw http header

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 113975
interpreted = N
texte = 1575 --Apple-Mail=_EDFCA5D9-2CA9-4AD5-93B0-A1CF138CA826 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Or you could use WebDNAs built in error handler in ErrorMessages.db Change this line: TemplateNotFoundError: template '[param1]' not found to: TemplateNotFound[REDIRECT dispatch.dna] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 15 Feb 2018, at 23:11, Kenneth Grome = wrote: >=20 > Hi Noah, >=20 > Most of us will not have this problem because we use apache. >=20 > 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. >=20 > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration >=20 >=20 >=20 > On 02/15/2018 04:49 AM, Noah Valley wrote: >> Hi everybody, >>=20 >> We use lighttpd with webdna 8. >> We have set server.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 dispatch.dna webdna looks up [thisurl] in the database (and >> 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 - = Unauthorized=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 = webdna 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 --Apple-Mail=_EDFCA5D9-2CA9-4AD5-93B0-A1CF138CA826 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Or = you could use WebDNAs built in error handler = in ErrorMessages.db

Change this line:
TemplateNotFoundError: = template '[param1]' not found

to:
TemplateNotFound[REDIRECT dispatch.dna]


Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 15 Feb 2018, at 23:11, Kenneth Grome <ken@webdnasolutions.com> wrote:

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,

We use lighttpd with webdna 8.
We = have set server.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 dispatch.dna webdna looks up [thisurl] in the = database (and
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).

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 - Unauthorized=E2=80=9D...

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 webdna or is it
a lighttpd-thing?

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

= --------------------------------------------------------- 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 --Apple-Mail=_EDFCA5D9-2CA9-4AD5-93B0-A1CF138CA826-- . 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)
1575 --Apple-Mail=_EDFCA5D9-2CA9-4AD5-93B0-A1CF138CA826 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Or you could use WebDNAs built in error handler in ErrorMessages.db Change this line: TemplateNotFoundError: template '[param1]' not found to: TemplateNotFound[REDIRECT dispatch.dna] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@idfk.com.au > On 15 Feb 2018, at 23:11, Kenneth Grome = wrote: >=20 > Hi Noah, >=20 > Most of us will not have this problem because we use apache. >=20 > 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. >=20 > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration >=20 >=20 >=20 > On 02/15/2018 04:49 AM, Noah Valley wrote: >> Hi everybody, >>=20 >> We use lighttpd with webdna 8. >> We have set server.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 dispatch.dna webdna looks up [thisurl] in the database (and >> 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 - = Unauthorized=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 = webdna 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 --Apple-Mail=_EDFCA5D9-2CA9-4AD5-93B0-A1CF138CA826 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Or = you could use WebDNAs built in error handler = in ErrorMessages.db

Change this line:
TemplateNotFoundError: = template '[param1]' not found

to:
TemplateNotFound[REDIRECT dispatch.dna]


Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






On 15 Feb 2018, at 23:11, Kenneth Grome <ken@webdnasolutions.com> wrote:

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,

We use lighttpd with webdna 8.
We = have set server.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 dispatch.dna webdna looks up [thisurl] in the = database (and
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).

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 - Unauthorized=E2=80=9D...

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 webdna or is it
a lighttpd-thing?

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

= --------------------------------------------------------- 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 --Apple-Mail=_EDFCA5D9-2CA9-4AD5-93B0-A1CF138CA826-- . Stuart Tremain

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:

[append] (1998) WebCatalog-NT?'s (1996) Checking for blank form fields 2nd idea (1998) Some Questions (1997) Problem with CC problem ? (1997) autosensing lanague selection (1997) WebCatalog Technical Reference (1997) Developers in Washington State (2004) Site Downloaders (2002) WebCat2: multiple currency support (1997) Security Issues and WebCommerce Solution (1997) quantity minimum problem (1997) Referrer or maybe another way..... (2005) WebCat2 Append problem (B14Macacgi) (1997) USPS change to SSL tcpconnect (2007) Linux WebDNA Server probs (2004) Getting Averages for online form. (1999) [WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009) quantity minimum problem (1997) [ShowNext] (1997)