Control Web Panel

WebPanel => Apache => Topic started by: x1337 on June 06, 2020, 09:35:58 AM

Title: Can't upload larger files!
Post by: x1337 on June 06, 2020, 09:35:58 AM
Log 1: public_html/cgi-bin/logs/upload.log


[Thu May 28 14:09:04 2020][5436] [Thu May 28 14:09:04 2020] upload.cgi: CGI.pm: Server closed socket during multipart read (client aborted?).

-----

Log 2: /usr/local/apache/domlogs/domain.com.error.log


[Thu May 28 14:14:09.693395 2020] [cgid:error] [pid 16236:tid 139648529569536] (70007)The timeout specified has expired: [client IP:50280] AH01270: Error reading request entity data, referer: https://domain.com/?op=upload_form

-----

"408 Request Timeout" While uploading more than 3 MB of file!

CentOS 7 using Web Centos Panel

------

<VirtualHost IP:80>
ServerName domain.com
ServerAlias http://www.domain.com
ServerAdmin webmaster@domain.com
DocumentRoot /home/domain/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
TimeOut 18000

--------------

<VirtualHost IP:443>
ServerName domain.com
ServerAlias http://www.domain.com
ServerAdmin webmaster@domain.com
DocumentRoot /home/domain/public_html
UseCanonicalName Off
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
TimeOut 18000


Still nothing! I tried via . htaccess as well but it didn't work out well!

Title: Re: Can't upload larger files!
Post by: CoriaWeb Hosting on June 06, 2020, 12:54:44 PM
https://www.mysterydata.com/how-to-increase-apache-timeout-in-cwp-control-webpanel/

I hope you can use this.
Title: Re: Can't upload larger files!
Post by: x1337 on June 07, 2020, 02:53:20 PM
The application is perl and cgi based! it has nothing to do with PHP...