Difference between revisions of "OS4X Webaccess installation and configuration"

From OS4X
Jump to navigation Jump to search
Line 28: Line 28:
 
Uploading files bigger than 2GB is a matter of the used webserver (i.e. Apache). Most common distributions include an Apache binary which is compiled with LARGEFILE support (which enables the upload of such big files).
 
Uploading files bigger than 2GB is a matter of the used webserver (i.e. Apache). Most common distributions include an Apache binary which is compiled with LARGEFILE support (which enables the upload of such big files).
 
Also, your Web browser must support this feature, so it's most common to use the latest version available.
 
Also, your Web browser must support this feature, so it's most common to use the latest version available.
 +
 +
Starting from Q3/2013, OS4X Webaccess offers a HTML5 file upload mechanism which supports files bigger than 2GB. Please configure your PHP backend to a maximum file upload and POST size of at least 128MB (which is a maximum single slice size of the divided file).

Revision as of 12:45, 18 October 2013

Directory configuration

The end user web interface needs some special settings in the web server environment. These are (taken from the Apache 2 configuration file, assuming OS4X webaccess is installed in "/var/www/webaccess"):

    <Directory "/var/www/webaccess">
        Options Indexes FollowSymlinks ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all 
    </Directory> 

Also make sure that the CGI module is loaded in Apache:

LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so

The CGI handler must be actived in the Apache main config, too:

AddHandler cgi-script .cgi



The user running the web server must be able to read, execute and write the following directories:

Large file support

Uploading files bigger than 2GB is a matter of the used webserver (i.e. Apache). Most common distributions include an Apache binary which is compiled with LARGEFILE support (which enables the upload of such big files). Also, your Web browser must support this feature, so it's most common to use the latest version available.

Starting from Q3/2013, OS4X Webaccess offers a HTML5 file upload mechanism which supports files bigger than 2GB. Please configure your PHP backend to a maximum file upload and POST size of at least 128MB (which is a maximum single slice size of the divided file).