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

ShowIF Question (2000) WebCat hosting providers? (1997) WebMerchant and AVS (1998) WebDNA on Intel Mac (2006) [accountNum] and [math] (1997) Founditems context returning only 1 item (1997) Sitebuilder (2004) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Emailer, SMTP Server, Prefs (2006) WebCatalog 3.0.4 alias crash bug? (2000) japanese characters (1997) [WebDNA] Spawn bombing out with ".db-oRiGiNaL-" (2017) W* 3.x & WebCat + WebMerchant (1998) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) RE: Signal Raised (1997) Caching [include] files ... (1997) Can this be done? (1997) multiple databases (1997) Using Plug-In while running 1.6.1 (1997) emailer 150 (1997)