Bug #2886
openWFileUpload progress bar doesn't work in FastCGI app
0%
Description
I'm deploying my wt application as a FastCGI app under Apache.
I've noticed that in this case the WFileUpload progress bar doesn't work. After upload starts it always shows 0% progress.
I use Wt 3.3.1.
Updated by Wim Dumon about 10 years ago
Hi Alan,
It's possible from Wt's side, but it's very distribution and http server dependend on how to configure this. This feature works much better with reverse proxy.
I'm not sure if our wiki (http://redmine.emweb.be/projects/wt/wiki/Fastcgi_on_apache) has all the right parameters for this to work.
BR,
Wim.
Updated by Alan Finley about 10 years ago
This is my httpd configuration:
<IfModule mod_fcgid.c>
Listen 10117
NameVirtualHost *:10117
<VirtualHost *:10117>
IdleTimeout 3600
ProcessLifeTime 7200
IPCConnectTimeout 300
IPCCommTimeout 7200
BusyTimeout 300
FcgidMaxRequestLen 2000000000
DocumentRoot /var/www/wt_app/docroot/
AddHandler fcgid-script wt
DirectoryIndex app.wt
Order Deny,Allow
Allow from all
Options +ExecCGI -Indexes
FcgidInitialEnv WT_APP_ROOT /var/www/wt_app/approot/
Updated by Alan Finley about 10 years ago
Previous text was currupted :(
Again:
<IfModule mod_fcgid.c>
Listen 10117
NameVirtualHost *:10117
<VirtualHost *:10117>
IdleTimeout 3600
ProcessLifeTime 7200
IPCConnectTimeout 300
IPCCommTimeout 7200
BusyTimeout 300
FcgidMaxRequestLen 2000000000
DocumentRoot /var/www/wt_app/docroot/
AddHandler fcgid-script wt
DirectoryIndex app.wt
<Directory /var/www/wt_app/docroot>
Order Deny,Allow
Allow from all
Options +ExecCGI -Indexes
</Directory>
FcgidInitialEnv WT_APP_ROOT /var/www/wt_app/approot/
</VirtualHost>
</IfModule>