<?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>envio land &#187; apache</title>
	<atom:link href="http://a3-system.info/blog/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://a3-system.info/blog</link>
	<description>Ash Like Snow</description>
	<lastBuildDate>Fri, 27 Aug 2010 14:47:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pure-FTPD with MySQL support for HTTPD purpose on CentOS 5.5</title>
		<link>http://a3-system.info/blog/apache/pure-ftpd-with-mysql-support-for-httpd-purpose-on-centos-5-5/</link>
		<comments>http://a3-system.info/blog/apache/pure-ftpd-with-mysql-support-for-httpd-purpose-on-centos-5-5/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 03:28:21 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Authentication failed for user]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[pure-ftpd]]></category>
		<category><![CDATA[[WARNING] Can't login as []: account disabled]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=293</guid>
		<description><![CDATA[Recently I want to setup a FTP system which can used to access HTTPD file, the FTP user will can add / modify or delete file or directory on /var/www/html which it is the httpd document root. 
I just follow the instruction from howtoforge for Pure-FTPD with mysql support. Recently I realize that tutorial dedicated [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I want to setup a FTP system which can used to access HTTPD file, the FTP user will can add / modify or delete file or directory on /var/www/html which it is the httpd document root. </p>
<p>I just follow the instruction from <a href="http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-incl-quota-and-bandwidth-management-on-centos-5.3">howtoforge for Pure-FTPD with mysql support</a>. Recently I realize that tutorial dedicated to buid a FTP with no have relation with httpd.</p>
<p>When I try to login to my ftp it can login well but the user will be &#8220;read-only&#8221; because the FTP home folder owner is apache user. For example my FTP user cacti with home user /var/www/html/cacti.</p>
<p>To accommodate my needs I need to adjust some parameter on pure-ftpd config ( /etc/pure-ftpd/pure-ftpd.conf ) , find &#8220;MinUID&#8221; string and set it to apache UID / for example on my server apache UID is 48 , now set MinUID to 48. Restart your Pure-FTPD server and test it ^^</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/apache/pure-ftpd-with-mysql-support-for-httpd-purpose-on-centos-5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter , HTTP Error 406 &amp; Mod_security</title>
		<link>http://a3-system.info/blog/php/codeigniter-http-error-406-mod_security/</link>
		<comments>http://a3-system.info/blog/php/codeigniter-http-error-406-mod_security/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 14:26:25 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[codeigniter mod_security 406 error]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=246</guid>
		<description><![CDATA[This day I have to update a website based on Codeigniter, 1.54. When trying on the development environment, all running smoothly, but when transferred to the server some problems arise.
In part used  session function (I use the library session Codeigniter) , randomly  displays a HTTP 406 error.
When searching on google, I know that [...]]]></description>
			<content:encoded><![CDATA[<p>This day I have to update a website based on Codeigniter, 1.54. When trying on the development environment, all running smoothly, but when transferred to the server some problems arise.</p>
<p>In part used  session function (I use the library session Codeigniter) , randomly  displays a HTTP 406 error.</p>
<p>When searching on google, I know that the problem is probably caused by the Apache  mod_security. I tried de-active mod_security  function using  . htaccess files but it causes HTTP error 500.</p>
<p>When a page that uses session displays a HTTP 406 error, It can be fixed by delete computer cookies, but sometimes  it comes back HTTP error 406 at random.</p>
<p>Another problem, the session produced by the library Codeigniter likely trigger mod_security apache and the mod_security considers it as a threat so mod_security block access from my  IP (I have many times to reset my modem to get a new IP)</p>
<p>My solution :  I change my session from the Codeigniter library  into Native PHP session. The solution worked perfectly, I don&#8217;t have anymore HTTP error 406 and blocked by mod_security.</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/codeigniter-http-error-406-mod_security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
