Project

General

Profile

Bug #2886

WFileUpload progress bar doesn't work in FastCGI app

Added by Alan Finley over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/31/2014
Due date:
% Done:

0%

Estimated time:

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.

#1

Updated by Wim Dumon over 8 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.

#2

Updated by Alan Finley over 8 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/


#3

Updated by Alan Finley over 8 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>

Also available in: Atom PDF