Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th December 2010, 16:49
kevin186 kevin186 is offline
Junior Member
 
Join Date: Nov 2010
Posts: 6
Thanks: 1
Thanked 4 Times in 3 Posts
Default SuEXEC + Fast-CGI = upload error 500

I just finished a new installation of fedora 14 with ispconfig 3 following the perfect server tutorial and I ran into a problem. When I had my websites set to suexec + fast-cgi, I would get error 500 when uploading any files. This happened to my wordpress and slideshowpro director installations. I could not figure it out at first and decided to completely reinstall fedora 14, which still produced the same error and generated the following log:
Code:
[Sat Dec 04 00:39:11 2010] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: HTTP request length 132532 (so far) exceeds MaxRequestLen (131072), referer: http://example.com/wp-admin/themes.php?page=custom-background
The solution was to add the following code to apache directives in the options tab for the website:
Code:
<IfModule mod_fcgid.c>
MaxRequestLen 15728640
</IfModule>
I don't know the cause of this error because my jpeg was not large at all, maybe 500kb. I was able to upload using any other php option for the websites, such as mod-php, cgi, suphp. I found the tip at the following website:http://www.blogtorrent.de/2010/11/30...estlen-131072/
Reply With Quote
The Following 2 Users Say Thank You to kevin186 For This Useful Post:
falko (5th December 2010), Turbanator (12th January 2011)
Sponsored Links
  #2  
Old 1st March 2011, 01:23
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,258
Thanks: 76
Thanked 23 Times in 19 Posts
 
Default

or globally for all sites in this file:

/etc/apache2/mods-available/fcgid.conf
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast Upload Speeds on a copper ADSL line? Rapid2214 Smalltalk 7 27th September 2010 00:05
mpm-itk + suexec + php-cgi grungy Installation/Configuration 2 25th March 2010 22:17
/home ad symlink after rsync run DreamK General 4 8th March 2010 12:44
change fast cgi to mod php in ispconfig 3 clip Installation/Configuration 2 13th August 2009 09:12
CGI issue (SUExec as well maybe) MathieuMa Installation/Configuration 4 11th April 2006 09:59


All times are GMT +2. The time now is 20:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.