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

RE: Emailer Set Up (1997) Quick ShowIf question (1997) Formulas.db question (2002) (1997) Multiple fields on 1 input (1997) Bug or syntax error on my part? (1997) WebTrends (2002) [WebDNA] Date/time server vs. browser (2015) Tag Corruption (2000) Another bug to squash (WebCat2b13 Mac .acgi) (1997) [WebDNA] Still having problems (2008) WCS Newbie question (1997) OT: Backup Strategies (2007) Intermitent problem using [referrer] (1997) formatting dates from a field ... (1997) WebCatalog can't find database (1997) [WebDNA] IIS 7 (2009) The IBC root beer has arrived! (1997) WebDNA 5 & iTools 7 (2003) Dreamweaver (2002)