[WebDNA] FCGI Error/Bug

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 115049
interpreted = N
texte = 2678 --Apple-Mail=_3FA34B79-203C-42BA-8018-6939F1B0BA5E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii This works 100% OK on WebDNA server edition: [text]CRLF=3D%0D%0A[/text] [returnraw binarybody=3Dagm_2015_annual_report-320.pdf][!] [/!]HTTP/1.0 200 OK[unurl][CRLF][/unurl][!] [/!]Content-Disposition: attachment; = filename=3D"agm_2015_annual_report-320.pdf"[unurl][CRLF][CRLF][/unurl][!] [/!][/returnraw] However it always fails on the FCGI edition. It appears that the = downloaded file is truncated. I have changed the fcgid.conf to this, = still no joy. Any ideas ? ## FcgidConnectTimeout 20 =20 ## Test Busy times FcgidBusyTimeout 600 FcgidIOTimeout 600 FcgidConnectTimeout 600 =20 =20 ## This enables large downloads MaxRequestLen 20971520 AddHandler fcgid-script .fcgi Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au --Apple-Mail=_3FA34B79-203C-42BA-8018-6939F1B0BA5E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii This = works 100% OK on WebDNA server edition:


[text]CRLF=3D%0D%0A[/text]
[returnraw = binarybody=3Dagm_2015_annual_report-320.pdf][!]
= [/!]HTTP/1.0 200 OK[unurl][CRLF][/unurl][!]
= [/!]Content-Disposition: attachment; = filename=3D"agm_2015_annual_report-320.pdf"[unurl][CRLF][CRLF][/unurl][!]<= /div>
[/!][/returnraw]


However it always fails on the FCGI edition. It appears that = the downloaded file is truncated. I have changed the fcgid.conf to this, = still no joy.

Any ideas ?



<IfModule mod_fcgid.c>
  ## FcgidConnectTimeout 20
  
  ## Test Busy times
  FcgidBusyTimeout 600
  FcgidIOTimeout = 600
  FcgidConnectTimeout 600
  
  
  ## This enables large = downloads
  MaxRequestLen 20971520

  <IfModule mod_mime.c>
    AddHandler fcgid-script .fcgi
  </IfModule>
</IfModule>


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







= --------------------------------------------------------- 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=_3FA34B79-203C-42BA-8018-6939F1B0BA5E-- . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] FCGI Error/Bug (Stuart Tremain 2020)
2678 --Apple-Mail=_3FA34B79-203C-42BA-8018-6939F1B0BA5E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii This works 100% OK on WebDNA server edition: [text]CRLF=3D%0D%0A[/text] [returnraw binarybody=3Dagm_2015_annual_report-320.pdf][!] [/!]HTTP/1.0 200 OK[unurl][CRLF][/unurl][!] [/!]Content-Disposition: attachment; = filename=3D"agm_2015_annual_report-320.pdf"[unurl][CRLF][CRLF][/unurl][!] [/!][/returnraw] However it always fails on the FCGI edition. It appears that the = downloaded file is truncated. I have changed the fcgid.conf to this, = still no joy. Any ideas ? ## FcgidConnectTimeout 20 =20 ## Test Busy times FcgidBusyTimeout 600 FcgidIOTimeout 600 FcgidConnectTimeout 600 =20 =20 ## This enables large downloads MaxRequestLen 20971520 AddHandler fcgid-script .fcgi Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au --Apple-Mail=_3FA34B79-203C-42BA-8018-6939F1B0BA5E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii This = works 100% OK on WebDNA server edition:


[text]CRLF=3D%0D%0A[/text]
[returnraw = binarybody=3Dagm_2015_annual_report-320.pdf][!]
= [/!]HTTP/1.0 200 OK[unurl][CRLF][/unurl][!]
= [/!]Content-Disposition: attachment; = filename=3D"agm_2015_annual_report-320.pdf"[unurl][CRLF][CRLF][/unurl][!]<= /div>
[/!][/returnraw]


However it always fails on the FCGI edition. It appears that = the downloaded file is truncated. I have changed the fcgid.conf to this, = still no joy.

Any ideas ?



<IfModule mod_fcgid.c>
  ## FcgidConnectTimeout 20
  
  ## Test Busy times
  FcgidBusyTimeout 600
  FcgidIOTimeout = 600
  FcgidConnectTimeout 600
  
  
  ## This enables large = downloads
  MaxRequestLen 20971520

  <IfModule mod_mime.c>
    AddHandler fcgid-script .fcgi
  </IfModule>
</IfModule>


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







= --------------------------------------------------------- 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=_3FA34B79-203C-42BA-8018-6939F1B0BA5E-- . 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:

WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) WebCatalog Technical Reference (1997) listfiles-looking for slick solution (1997) Scoping rules in WebDNA 4.0 (2000) credit card (1997) SQL Changes in 3.0.7? (2000) Paranoid about serial numbers...not (1998) Running _every_ page through WebCat ? (1997) Not really WebCat (1997) headers (2004) Calculating Shipping charges for multiple items andqtys > 1 (1997) Discounting prices across a site (1997) Help name our technology! I found it (1997) Sorting LISTFILES (1997) [WebDNA] ImageMagick code (2013) Emailer setup (1997) Date Help! (2003) Hello??? (1997) WCS Newbie question (1997) Conference? Heres my sniplete contribution! (1998)