<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mt</title>
	<atom:link href="http://mt.i3o.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://mt.i3o.de</link>
	<description>notizblog</description>
	<lastBuildDate>Fri, 30 Dec 2011 02:58:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Plesk 10.3.1: HTTP POST Requests are Limited to 128kb</title>
		<link>http://mt.i3o.de/plesk-post-requests-limited/</link>
		<comments>http://mt.i3o.de/plesk-post-requests-limited/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 22:54:19 +0000</pubDate>
		<dc:creator>mt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mt.i3o.de/?p=6</guid>
		<description><![CDATA[Problem: In CentOS 6.0 you can&#8217;t upload files that are bigger than approx. 100kb in PLESK 10.3.1 on a domain that uses PHP with mod_fcgid. Why? mod_fcgid changed the maximum POST request length size from 1GB to only 128kb with release 2.3.6. I don&#8217;t know any reasons for this, but appearently Parallels forgot to change [...]]]></description>
			<content:encoded><![CDATA[<h2>Problem:</h2>
<p>In CentOS 6.0 you can&#8217;t upload files that are bigger than approx. 100kb in PLESK 10.3.1 on a domain that uses PHP with mod_fcgid.</p>
<h2>Why?</h2>
<p><a href="http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen">mod_fcgid changed the maximum POST request length size from 1GB to only 128kb with release 2.3.6</a>. I don&#8217;t know any reasons for this, but appearently Parallels forgot to change this setting to a reasonable value&#8230;</p>
<h2>How to Fix it?</h2>
<p>For CentOS 6.0 you have to edit <tt>/etc/httpd/conf.d/fcgid.conf</tt> and add a line with a new <tt>FcgidMaxRequestLen</tt> value. Just add it below the other options:</p>
<pre>LoadModule fcgid_module modules/mod_fcgid.so

&lt;IfModule mod_fcgid.c&gt;

&lt;IfModule !mod_fastcgi.c&gt;
    AddHandler fcgid-script fcg fcgi fpl
&lt;/IfModule&gt;

  FcgidIPCDir /var/run/mod_fcgid/sock
  FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

  FcgidIdleTimeout 400
  FcgidProcessLifeTime 300
  FcgidMaxProcesses 100
  FcgidMaxProcessesPerClass 8
  FcgidMinProcessesPerClass 0
  FcgidConnectTimeout 300
  FcgidIOTimeout 450
  FcgidInitialEnv RAILS_ENV production
  FcgidIdleScanInterval 10

  # set POST to 1GB
  FcgidMaxRequestLen 1073741824

&lt;/IfModule&gt;</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://mt.i3o.de/plesk-post-requests-limited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
