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

I'm new (2001) Return records from another (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Polls (2003) WC1.6 to WC2 date formatting (1997) searchable list archive (1997) Shopping cart not being assigned (1999) major search problem (1998) Emailer Problem (2000) Multiply prices (1997) Searching multiple fields from one form field (1997) remotely add + sign (1997) WCS Newbie question (1997) FORMS: Returning a specific page (1997) Echo (2004) WebCat2 - Getting to the browser's username/password data (1997) Suffix Mapping (1997) Search in 2 or more catalogs (1997) RAM crash (1998) thankyou.tmpl (1997)