Current time: 11-22-2024, 08:27 AM Hello There, Guest! (LoginRegister)


Post Reply 
Upload of files limited to approx 100KB
Author Message
mike548141 Offline
Junior Member
*

Posts: 49
Joined: Nov 2009
Reputation: 0
Post: #11
RE: Upload of files limited to approx 100KB
(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
03-11-2011 02:16 PM
Find all posts by this user Quote this message in a reply
Spheerys Offline
Junior Member
*

Posts: 101
Joined: Feb 2008
Reputation: 0
Post: #12
RE: Upload of files limited to approx 100KB
Hummm nearly 3 years later....

How did you solve the problem exactly ?
What did you change with the mod_security configuration and where ?
06-28-2011 02:41 AM
Find all posts by this user Quote this message in a reply
mike548141 Offline
Junior Member
*

Posts: 49
Joined: Nov 2009
Reputation: 0
Post: #13
RE: Upload of files limited to approx 100KB
(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
06-28-2011 05:58 AM
Find all posts by this user Quote this message in a reply
Spheerys Offline
Junior Member
*

Posts: 101
Joined: Feb 2008
Reputation: 0
Post: #14
RE: Upload of files limited to approx 100KB
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
06-29-2011 03:47 AM
Find all posts by this user Quote this message in a reply
cmendes0101 Offline
Junior Member
*

Posts: 16
Joined: Dec 2009
Reputation: 0
Post: #15
RE: Upload of files limited to approx 100KB
(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
07-21-2011 04:29 PM
Find all posts by this user Quote this message in a reply
sashaelit Offline


Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #16
Cool RE: Upload of files limited to approx 100KB
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
06-28-2012 02:44 PM
Find all posts by this user Quote this message in a reply
Phinous Offline


Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #17
RE: Upload of files limited to approx 100KB
Did you edit the file : /var/www/fcgi/mydomaine.tld/php5/php.ini ?

The variable to edit is post_max_size
06-28-2012 06:42 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #18
RE: Upload of files limited to approx 100KB
(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.
07-03-2012 11:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)