[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:

GuestBook example (1997) Summary search -- speed (1997) [WebDNA] Multi Part SendMail (2013) Quickie question on the email templates (1997) Shell Script needed (2003) Mac Lockup Problems (1998) PCS Frames (1997) Cart Numbers (1997) ReturnRaw context (1997) Nesting format tags (1997) URL encoding (1998) Heads up, cookies *may* be outlawed in Europe (2001) [WebDNA] Sort Direction matches the written to file order (2015) Error Messages Returned to User (1997) PCS Frames (1997) RE: [WebDNA] SQLExecute Memory Leak (2008) Getting total number of items ordered (1997) AIM & SIM Issue (2001) First postarg not taking in $Commands (1997) Setting up shop (1997)