ispCP - Board - Support
Upload of files limited to approx 100KB - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Upload of files limited to approx 100KB (/thread-11122.html)

Pages: 1 2


RE: Upload of files limited to approx 100KB - mike548141 - 03-11-2011 02:16 PM

(12-08-2010 10:20 PM)BeNe Wrote:  There is already a ticket open --> http://isp-control.net/ispcp/ticket/2514 with a solution.
Check your fcgid.conf for this here:
Code:
FcgidMaxRequestLen 2097152


Greez BeNe

Note in this case it was not related to fcgi, the Apache module mod__security was blocking the upload

MC


RE: Upload of files limited to approx 100KB - Spheerys - 06-28-2011 02:41 AM

Hummm nearly 3 years later....

How did you solve the problem exactly ?
What did you change with the mod_security configuration and where ?


RE: Upload of files limited to approx 100KB - mike548141 - 06-28-2011 05:58 AM

(06-28-2011 02:41 AM)Spheerys Wrote:  Hummm nearly 3 years later....

How did you solve the problem exactly ?
What did you change with the mod_security configuration and where ?

You may want to google mod_sec and PHP
You need to add the mod_sec config to the sites apache config file
/etc/apache2/ispcp/*.conf


#
# Custom apache configuration for example.com
#
# Any changes made to this file will be preserved.
# ispCP doesn't and won't verify the contents of this file.
#
# This file should NOT be deleted, otherwise apache will fail to start
#

<LocationMatch "/">
SecRuleRemoveById 960010
SecRuleRemoveById 960015
SecRuleRemoveById 960032
SecRuleRemoveById 950107
</LocationMatch>

LimitRequestBody 20480000
SecRequestBodyLimit 20480000

MC


RE: Upload of files limited to approx 100KB - Spheerys - 06-29-2011 03:47 AM

Thanks MC Smile

But I solve the problem differently

In my case, I had to install first mod-security2 :

Code:
apt-get install libapache2-mod-security2

And after, I have modified the file /etc/apache2/ispcp/domain.tld.conf with adding this :
Code:
<IfModule mod_fcgid.c>
MaxRequestLen 15728640
</IfModule>

Restart Apache2 and that's works Wink


RE: Upload of files limited to approx 100KB - cmendes0101 - 07-21-2011 04:29 PM

(06-29-2011 03:47 AM)Spheerys Wrote:  Thanks MC Smile

But I solve the problem differently

In my case, I had to install first mod-security2 :

Code:
apt-get install libapache2-mod-security2

And after, I have modified the file /etc/apache2/ispcp/domain.tld.conf with adding this :
Code:
<IfModule mod_fcgid.c>
MaxRequestLen 15728640
</IfModule>

Restart Apache2 and that's works Wink

Thanks! Was having this issue for a while and couldnt figure it out. This worked perfectly


RE: Upload of files limited to approx 100KB - sashaelit - 06-28-2012 02:44 PM

helo im have this problem...when im whant to upload files larger than 100 kb thats take eroor 500 and get out of my web site...
my system is jomola! not wordperes
plz help
shortly tell how its will be fix??
plz god safe youSadSadSadSadSadSadSadSad


RE: Upload of files limited to approx 100KB - Phinous - 06-28-2012 06:42 PM

Did you edit the file : /var/www/fcgi/mydomaine.tld/php5/php.ini ?

The variable to edit is post_max_size


RE: Upload of files limited to approx 100KB - ephigenie - 07-03-2012 11:33 PM

(06-28-2012 02:44 PM)sashaelit Wrote:  helo im have this problem...when im whant to upload files larger than 100 kb thats take eroor 500 and get out of my web site...
my system is jomola! not wordperes
plz help
shortly tell how its will be fix??
plz god safe youSadSadSadSadSadSadSadSad

Please read the above posts. You will find the solution on this page and on the page before.
Depending if its a mod_security or a mod_fcgid related problem in your case.