<?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>猪眼看世界</title>
	<atom:link href="http://www.newphp.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.newphp.net</link>
	<description>猪脑太小，装不了太多东西，还是记下来好些</description>
	<lastBuildDate>Fri, 30 Sep 2011 20:27:12 +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>Linux下强大的下载工具－aria2</title>
		<link>http://www.newphp.net/contents/196/</link>
		<comments>http://www.newphp.net/contents/196/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 20:17:54 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=196</guid>
		<description><![CDATA[aria2 是 Linux 下一个不错的高速下载工具。由于它具有分段下载引擎，所以支持从多个地址或者从一个地址的多个连接来下载同一个文件。这样自然就大大加快了文件的下载速 度。aria2 也具有断点续传功能，这使你随时能够恢复已经中断的文件下载。除了支持一般的 http(s) 和 ftp 协议外，aria2 还支持 BitTorrent 协议。这意味着，你也可以使用 aria2 来下载 torrent 文件。 安装 aria2 很简单，linux下安装的三步曲： wget http://sourceforge.net/projects/aria2/files/stable/aria2-1.12.1/aria2-1.12.1.tar.gz (载止文章发布，最新版本是1.12.1) tar -zxf aria2-1.10.9.tar.gz cd aria2-1.10.9/ ./configure make make install 在configure和make的时候可能会有一些错误，一般情况下是缺少一些库或是缺少一些依赖文件，找到安装好就行了。 一般使用使用 aria2 下载文件，只需在命令后附加地址即可。比如我们下载ubuntu如： aria2c http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso 分段下载利用 aria2 的分段下载功能可以加快文件的下载速度，对于下载大文件时特别有用。为了使用 aria2 的分段下载功能，你需要在命令中指定 s 选项。如： aria2c -s 2 http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso 这将使用 2 个连接来下载该文件。s 后面的参数值介于 1~5 之间，你可以根据实际情况选择。 断点续传在命令中使用 [...]]]></description>
			<content:encoded><![CDATA[<p>aria2 是 Linux 下一个不错的高速下载工具。由于它具有分段下载引擎，所以支持从多个地址或者从一个地址的多个连接来下载同一个文件。这样自然就大大加快了文件的下载速 度。aria2 也具有断点续传功能，这使你随时能够恢复已经中断的文件下载。除了支持一般的 http(s) 和 ftp 协议外，aria2 还支持 BitTorrent 协议。这意味着，你也可以使用 aria2 来下载 torrent 文件。</p>
<p>安装 aria2</p>
<p>很简单，linux下安装的三步曲：</p>
<blockquote><p>wget http://sourceforge.net/projects/aria2/files/stable/aria2-1.12.1/aria2-1.12.1.tar.gz (载止文章发布，最新版本是1.12.1)<br />
tar -zxf aria2-1.10.9.tar.gz<br />
cd aria2-1.10.9/<br />
./configure<br />
make<br />
make install</p></blockquote>
<p>在configure和make的时候可能会有一些错误，一般情况下是缺少一些库或是缺少一些依赖文件，找到安装好就行了。</p>
<p>一般使用使用 aria2 下载文件，只需在命令后附加地址即可。比如我们下载ubuntu如：</p>
<blockquote><p>aria2c http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso</p></blockquote>
<p>分段下载利用 aria2 的分段下载功能可以加快文件的下载速度，对于下载大文件时特别有用。为了使用 aria2 的分段下载功能，你需要在命令中指定 s 选项。如：</p>
<blockquote><p>aria2c -s 2 http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso</p></blockquote>
<p>这将使用 2 个连接来下载该文件。s 后面的参数值介于 1~5 之间，你可以根据实际情况选择。</p>
<p>断点续传在命令中使用 c 选项可以断点续传文件。如：</p>
<blockquote><p>aria2c -c http://www.mirror.tw/pub/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso</p></blockquote>
<p>下载 torrent 文件你也可以使用 aria2 下载 BitTorrent 文件。如：</p>
<blockquote><p>aria2c -o gutsy.torrent http://cdimage.ubuntu.com/daily-live/current/gutsy-desktop-i386.iso.torrent</p></blockquote>
<p>关于 aria2 的更多用法，可以通过 aria2c &#8211;help 查阅。</p>
<p>开发主页：<a href="http://aria2.sourceforge.net/" target="_blank">aria2</a></p>
<p>(注：本文部份内容来自<a href="http://www.openboy.net/ubuntu-linux-download-tool-aria2.html" target="_blank">http://www.openboy.net/ubuntu-linux-download-tool-aria2.html</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/196/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>编译安装ProFTPd</title>
		<link>http://www.newphp.net/contents/165/</link>
		<comments>http://www.newphp.net/contents/165/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 21:26:37 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[proftpd]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=165</guid>
		<description><![CDATA[下载，编译，安装 #下载proftpd源文件，目前最新版本是1.3.3 wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3.tar.gz #解压源文件 tar -zxvf proftpd-1.3.3.tar.gz #进入源文件目录 cd proftpd-1.3.3/ #设置编译选项 ./configure &#8211;with-modules=mod_quotatab:mod_quotatab_file:mod_unique_id &#8211;prefix= #编译 make #安装 make install ProFTPd的一些工具设置 #复制ftpasswd和ftpquota到/usr/local/sbin目录 cp -p contrib/ftpasswd contrib/ftpquota /usr/local/sbin/ #对ftpasswd和ftpquota添加可执行权限 chmod +x /usr/local/sbin/ftpasswd /usr/local/sbin/ftpquota #安装proftpd为服务，并设置为自动启动 cp -p contrib/dist/rpm/proftpd.init.d /etc/init.d/proftpd chmod +x /etc/init.d/proftpd chkconfig &#8211;level 2345 proftpd on 用户文件，日志目录 touch /etc/proftpd.passwd mkdir /var/log/proftpd/ chown ftp.ftp /var/log/proftpd/ /etc/proftpd.conf 配置文件示例 ServerName                      "ProFTPD" ServerType                      [...]]]></description>
			<content:encoded><![CDATA[<p>下载，编译，安装</p>
<blockquote><p>#下载proftpd源文件，目前最新版本是1.3.3<br />
wget <a href="ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3.tar.gz">ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.3.tar.gz</a><br />
#解压源文件<br />
tar -zxvf proftpd-1.3.3.tar.gz<br />
#进入源文件目录<br />
cd proftpd-1.3.3/<br />
#设置编译选项<br />
./configure &#8211;with-modules=mod_quotatab:mod_quotatab_file:mod_unique_id &#8211;prefix=<br />
#编译<br />
make<br />
#安装<br />
make install</p></blockquote>
<p><span id="more-165"></span>ProFTPd的一些工具设置</p>
<blockquote><p>#复制ftpasswd和ftpquota到/usr/local/sbin目录<br />
cp -p contrib/ftpasswd contrib/ftpquota /usr/local/sbin/<br />
#对ftpasswd和ftpquota添加可执行权限<br />
chmod +x /usr/local/sbin/ftpasswd /usr/local/sbin/ftpquota<br />
#安装proftpd为服务，并设置为自动启动<br />
cp -p contrib/dist/rpm/proftpd.init.d /etc/init.d/proftpd<br />
chmod +x /etc/init.d/proftpd<br />
chkconfig &#8211;level 2345 proftpd on</p></blockquote>
<p>用户文件，日志目录</p>
<blockquote><p>touch /etc/proftpd.passwd<br />
mkdir /var/log/proftpd/<br />
chown ftp.ftp /var/log/proftpd/</p></blockquote>
<p>/etc/proftpd.conf 配置文件示例</p>
<pre>ServerName                      "ProFTPD"
ServerType                      standalone
DefaultServer                   on
Port                            21
PassivePorts                    35000 35999
UseIPv6                         on
Umask                           022
User                            nobody
Group                           nobody

UseReverseDNS                   off
IdentLookups                    off

TimesGMT                        off
TimeoutLogin                    120
TimeoutIdle                     600
TimeoutNoTransfer               900
TimeoutStalled                  3600

TransferLog                     /var/log/proftpd/xferlog.legacy
LogFormat                       default "%h %l %u %t \"%r\" %s %b"
LogFormat                       auth    "%v [%P] %h %t \"%r\" %s"
LogFormat                       write   "%h %l %u %t \"%r\" %s %b"

MaxInstances                    30
AuthUserFile                    /etc/proftpd.passwd

QuotaEngine                     on
QuotaShowQuotas                 off
QuotaDisplayUnits               Mb
QuotaLimitTable                 file:/etc/proftpd.quota

DeferWelcome                    on
ServerIdent                     off
MaxConnectionRate               4
MaxClients                      30
MaxClientsPerHost               5
MaxClientsPerUser               10
RequireValidShell               no
DefaultRoot                     ~
AllowStoreRestart               on
AllowRetrieveRestart            on
ListOptions                     -a
DisplayLogin                    /etc/proftpd.welcome
DisplayChdir                    /etc/proftpd.readme
AllowOverwrite                  yes

ScoreboardFile                  /var/run/proftpd.pid

ExtendedLog                     /var/log/proftpd/access.log WRITE,READ write
ExtendedLog                     /var/log/proftpd/auth.log AUTH auth

&lt;Anonymous /home/ftp&gt;
  User                          ftp
  Group                         ftp
  UserAlias                     anonymous ftp
  MaxClients                    10
  MaxClientsPerHost             1
  DisplayLogin                  /etc/proftpd.welcome.anonymous
  DisplayChdir                  /etc/proftpd.readme.anonymous
  &lt;Limit WRITE&gt;
    DenyAll
  &lt;/Limit&gt;
&lt;/Anonymous&gt;</pre>
<p>上面的Anonymous是匿名帐户的设置，可去除。</p>
<p>工具ftpasswd示列</p>
<blockquote><p>#添加用户newphp，系统UID是501，GID是501，授权访问/home/newphp目录，&#8211;gecos后面可以跟这个帐号的说明，也可以不要。<br />
ftpasswd &#8211;passwd &#8211;file=/etc/proftpd.passwd &#8211;name=newphp &#8211;uid=501 &#8211;gid=501 &#8211;gecos=newphp &#8211;home=/home/newphp &#8211;shell=/sbin/nologin</p></blockquote>
<blockquote><p>#删除用户newphp，系统UID是501，GID是501，授权访问/home/newphp目录，&#8211;gecos后面可以跟这个帐号的说明，也可以不要。<br />
ftpasswd &#8211;passwd &#8211;file=/etc/proftpd.passwd &#8211;name=tiankun &#8211;uid=501 &#8211;gid=501 &#8211;gecos=newphp &#8211;home=/home/newphp &#8211;shell=/sbin/nologin &#8211;delete-user</p></blockquote>
<blockquote><p>#修改tiankun的密码，执行以后输入两次密码<br />
ftpasswd &#8211;passwd &#8211;change-password &#8211;file=/etc/proftpd.passwd &#8211;name=tiankun<br />
#修改newphp帐号的密码，newpasswd是新密码，这个可以写成脚本来修改ftp帐号的密码<br />
echo newpasswd | ftpasswd &#8211;passwd &#8211;change-password &#8211;file=/etc/proftpd.passwd &#8211;name=newphp &#8211;stdin</p></blockquote>
<p>工具ftpquota示列</p>
<blockquote><p>#建立空间大小配额表<br />
ftpquota &#8211;table-path=/etc/proftpd.quota &#8211;create-table &#8211;type=limit</p></blockquote>
<blockquote><p>#添加用户<span style="color: #3366ff;">tiankun</span>的空间使用配额，大小为2G<br />
ftpquota &#8211;table-path=/etc/proftpd.quota &#8211;add-record &#8211;type=limit<br />
&#8211;bytes-upload=2 &#8211;units=Gb &#8211;limit-type=hard &#8211;name=tiankun &#8211;quota-type=user</p></blockquote>
<blockquote><p>#删除用户<span style="color: #3366ff;">tiankun</span>的ftp空间配额限制<br />
ftpquota &#8211;table-path=/etc/proftpd.quota &#8211;delete-record &#8211;type=limit</p></blockquote>
<p>本文原创，转载请注明来自：<a href="http://www.newphp.net/contents/165-configure-and-install-proftpd">http://www.newphp.net/contents/165-configure-and-install-proftpd</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/165/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx反向代理的配置</title>
		<link>http://www.newphp.net/contents/160/</link>
		<comments>http://www.newphp.net/contents/160/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 20:00:27 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[nginx.conf]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=160</guid>
		<description><![CDATA[实在不知道该怎么说，还是举例说明 server { listen 80; server_name sina.newphp.net; location / { proxy_pass http://www.sina.com.cn/; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } 当然，还可以设置某一个目录是从代理访问的，配置如下 server { listen 80; server_name sina.newphp.net; location /images { proxy_pass http://www.sina.com.cn/; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } 这样http://sina.newphp.net/images/test.jpg实际上就是代理访问的http://www.sina.com.cn/images/test.jpg了，当然也可以是指定的文件类型，修改location一项就行了，比如 location \.(jpe?g&#124;gif&#124;png)$ { &#8230; } 就是设置jpg,jpeg,gif,png文件的反向代理。在修改好nginx.conf后，重启nginx，域名解析生效后就可以通过sina.newphp.net来访问新浪了，当然，我实际上没这样设置，只是举这样一个例子说明。 不知道从哪个版本开始，就默认开启proxy功能了，如果你的nginx版本比较老，而且没有开启proxy功能，就要重新编译，如果我没记错，那个configure选项应该是&#8211;with-http_proxy_module 另外，nginx里的proxy设置的参数还有这些：（不完全，内容源于：http://sudone.com/conf/nginx_proxy.conf.html） proxy_set_header (设定header) [...]]]></description>
			<content:encoded><![CDATA[<p>实在不知道该怎么说，还是举例说明</p>
<blockquote><p>server<br />
{<br />
listen 80;<br />
server_name sina.newphp.net;<br />
location / {<br />
proxy_pass http://www.sina.com.cn/;<br />
proxy_redirect off;<br />
proxy_set_header X-Real-IP $remote_addr;<br />
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br />
}<br />
}</p></blockquote>
<p>当然，还可以设置某一个目录是从代理访问的，配置如下</p>
<blockquote><p>server<br />
{<br />
listen 80;<br />
server_name sina.newphp.net;<br />
location <span style="color: #ff0000;">/images</span> {<br />
proxy_pass http://www.sina.com.cn/;<br />
proxy_redirect off;<br />
proxy_set_header X-Real-IP $remote_addr;<br />
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br />
}<br />
}</p></blockquote>
<p>这样http://sina.newphp.net/images/test.jpg实际上就是代理访问的http://www.sina.com.cn/images/test.jpg了，当然也可以是指定的文件类型，修改location一项就行了，比如</p>
<blockquote><p>location \.(jpe?g|gif|png)$ { &#8230; }</p></blockquote>
<p>就是设置jpg,jpeg,gif,png文件的反向代理。在修改好nginx.conf后，重启nginx，域名解析生效后就可以通过sina.newphp.net来访问新浪了，当然，我实际上没这样设置，只是举这样一个例子说明。</p>
<p>不知道从哪个版本开始，就默认开启proxy功能了，如果你的nginx版本比较老，而且没有开启proxy功能，就要重新编译，如果我没记错，那个configure选项应该是&#8211;with-http_proxy_module</p>
<p>另外，nginx里的proxy设置的参数还有这些：（不完全，内容源于：<a rel="nofollow" href="http://sudone.com/conf/nginx_proxy.conf.html" target="_blank">http://sudone.com/conf/nginx_proxy.conf.html</a>）</p>
<blockquote><p>proxy_set_header (设定header)<br />
proxy_hide_header (隐藏header)<br />
proxy_pass_header (通过header)<br />
proxy_connect_timeout (代理连接超时)<br />
proxy_send_timeout (代理发送超时)<br />
proxy_read_timeout (代理接收超时)<br />
proxy_temp_file_write_size (设定缓存文件夹大小)<br />
proxy_buffer_size (代理缓冲大小)<br />
proxy_buffers (代理缓冲)<br />
proxy_busy_buffers_size (高负荷下缓冲大小)<br />
proxy_ignore_client_abort (不允许代理端主动关闭连接)<br />
proxy_set_header (设定header)</p></blockquote>
<p>更具体的说明请移步<a title="NginxHttpProxyModule" rel="nofollow" href="http://wiki.nginx.org/NginxHttpProxyModule" target="_blank">nginx官方说明页面</a>。</p>
<p>本文原创，转载请注明来自：<a href="http://www.newphp.net/contents/160-nginx-proxy-config-and-set">http://www.newphp.net/contents/160-nginx-proxy-config-and-set</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/160/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx的rewrite之shopex</title>
		<link>http://www.newphp.net/contents/157/</link>
		<comments>http://www.newphp.net/contents/157/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 19:39:45 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[nginx.conf]]></category>
		<category><![CDATA[rewrite]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=157</guid>
		<description><![CDATA[规则很简单，只有三行。 if (!-e $request_filename) { rewrite ^(.*)/(.+\.(html&#124;xml&#124;json&#124;htm&#124;php&#124;jsp&#124;asp&#124;shtml))$ $1/index.php?$2 last; } 其实起作用的就只是蓝色的那一行。]]></description>
			<content:encoded><![CDATA[<p>规则很简单，只有三行。</p>
<blockquote><p>if (!-e $request_filename) {<br />
<span style="color: #3366ff;">rewrite ^(.*)/(.+\.(html|xml|json|htm|php|jsp|asp|shtml))$ $1/index.php?$2 last;</span><br />
}</p></blockquote>
<p>其实起作用的就只是蓝色的那一行。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/157/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>让没有在nginx里绑定的域名返回400错误</title>
		<link>http://www.newphp.net/contents/154/</link>
		<comments>http://www.newphp.net/contents/154/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 19:29:27 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[400]]></category>
		<category><![CDATA[nginx.conf]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=154</guid>
		<description><![CDATA[一般来说在nginx中，定义的第一个“虚拟主机”是作为默认的虚拟主机，如果是独立主机，或是有独立IP的站点来说，可能不太喜欢别人把域名指向到自己的IP上，打开自己的网站。为了解决这个，在nginx定义一个默认的虚拟主机就行了。 server { listen 80 default; location / { return 400; } } 这样一来，只要是没有在nginx.conf里绑定的域名，包括直接用IP访问，返回的都是400错误。 如果想用IP直接访问的话，也很简单，在你自己站点的定义里面的server_name中加入IP地址就OK。 本文原创，转载请注明来自：http://www.newphp.net/contents/154-return-400-error-if-not-defined-in-nginx]]></description>
			<content:encoded><![CDATA[<p>一般来说在nginx中，定义的第一个“虚拟主机”是作为默认的虚拟主机，如果是独立主机，或是有独立IP的站点来说，可能不太喜欢别人把域名指向到自己的IP上，打开自己的网站。为了解决这个，在nginx定义一个默认的虚拟主机就行了。</p>
<blockquote><p>server {<br />
listen 80 default;<br />
location / { return 400; }<br />
}</p></blockquote>
<p>这样一来，只要是没有在nginx.conf里绑定的域名，包括直接用IP访问，返回的都是400错误。</p>
<p>如果想用IP直接访问的话，也很简单，在你自己站点的定义里面的server_name中加入IP地址就OK。</p>
<p>本文原创，转载请注明来自：<a href="http://www.newphp.net/contents/154-return-400-error-if-not-defined-in-nginx">http://www.newphp.net/contents/154-return-400-error-if-not-defined-in-nginx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/154/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nginx的upstream目前支持5种方式的分配(转载)</title>
		<link>http://www.newphp.net/contents/142/</link>
		<comments>http://www.newphp.net/contents/142/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 02:36:03 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=142</guid>
		<description><![CDATA[1、轮询（默认） 每个请求按时间顺序逐一分配到不同的后端服务器，如果后端服务器down掉，能自动剔除。 2、weight 指定轮询几率，weight和访问比率成正比，用于后端服务器性能不均的情况。 upstream bakend { server 192.168.0.14 weight=10; server 192.168.0.15 weight=10; } 3、ip_hash 每个请求按访问ip的hash结果分配，这样每个访客固定访问一个后端服务器，可以解决session的问题。 upstream bakend { ip_hash; server 192.168.0.14:88; server 192.168.0.15:80; } 4、fair（第三方） 按后端服务器的响应时间来分配请求，响应时间短的优先分配。 upstream backend { server server1; server server2; fair; } 5、url_hash（第三方） 按访问url的hash结果来分配请求，使每个url定向到同一个后端服务器，后端服务器为缓存时比较有效。 例：在upstream中加入hash语句，server语句中不能写入weight等其他的参数，hash_method是使用的hash算法 upstream backend { server squid1:3128; server squid2:3128; hash $request_uri; hash_method crc32; } upstream bakend{#定义负载均衡设备的Ip及设备状态 ip_hash; server [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1、轮询（默认）</strong></p>
<p>每个请求按时间顺序逐一分配到不同的后端服务器，如果后端服务器down掉，能自动剔除。</p>
<p><strong>2、weight</strong><br />
指定轮询几率，weight和访问比率成正比，用于后端服务器性能不均的情况。</p>
<blockquote><p>upstream bakend {<br />
server 192.168.0.14 weight=10;<br />
server 192.168.0.15 weight=10;<br />
}</p></blockquote>
<p><strong>3、ip_hash<br />
</strong>每个请求按访问ip的hash结果分配，这样每个访客固定访问一个后端服务器，可以解决session的问题。</p>
<blockquote><p>upstream bakend {<br />
ip_hash;<br />
server 192.168.0.14:88;<br />
server 192.168.0.15:80;<br />
}</p></blockquote>
<p><strong>4、fair（第三方）</strong><br />
按后端服务器的响应时间来分配请求，响应时间短的优先分配。</p>
<blockquote><p>upstream backend {<br />
server server1;<br />
server server2;<br />
fair;<br />
}</p></blockquote>
<p><strong>5、url_hash（第三方）</strong></p>
<p>按访问url的hash结果来分配请求，使每个url定向到同一个后端服务器，后端服务器为缓存时比较有效。</p>
<p>例：在upstream中加入hash语句，server语句中不能写入weight等其他的参数，hash_method是使用的hash算法</p>
<blockquote><p>upstream backend {<br />
server squid1:3128;<br />
server squid2:3128;<br />
hash $request_uri;<br />
hash_method crc32;<br />
}</p></blockquote>
<blockquote><p>upstream bakend{#定义负载均衡设备的Ip及设备状态<br />
ip_hash;<br />
server 127.0.0.1:9090 down;<br />
server 127.0.0.1:8080 weight=2;<br />
server 127.0.0.1:6060;<br />
server 127.0.0.1:7070 backup;<br />
}</p></blockquote>
<p>在需要使用负载均衡的server中增加</p>
<blockquote><p>proxy_pass http://bakend/;</p></blockquote>
<p>每个设备的状态设置为:<br />
1.down 表示单前的server暂时不参与负载<br />
2.weight 默认为1.weight越大，负载的权重就越大。<br />
3.max_fails ：允许请求失败的次数默认为1.当超过最大次数时，返回proxy_next_upstream 模块定义的错误<br />
4.fail_timeout:max_fails次失败后，暂停的时间。<br />
5.backup： 其它所有的非backup机器down或者忙的时候，请求backup机器。所以这台机器压力会最轻。</p>
<p>nginx支持同时设置多组的负载均衡，用来给不用的server来使用。</p>
<p>client_body_in_file_only 设置为On 可以讲client post过来的数据记录到文件中用来做debug<br />
client_body_temp_path 设置记录文件的目录 可以设置最多3层目录</p>
<p>location 对URL进行匹配.可以进行重定向或者进行新的代理 负载均衡</p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/142/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql4.0和4.1相互导入编码问题</title>
		<link>http://www.newphp.net/contents/123/</link>
		<comments>http://www.newphp.net/contents/123/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 12:50:16 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=123</guid>
		<description><![CDATA[4.1导入到4.0 导出的时候用命令行的方式,不容易出问题 mysqldump -uroot -pPassword &#8211;compatible=mysql40 &#8211;default-character-set=utf8(或者gb2312或者gbk) 数据库名 &#62; 文件名.sql 这样不容易出问题，或者导入的时候，去掉sql文件里面所有指定编码的部分，甚至可以用 iconv -c -f UTF-8 -t GB2312 库文件名 &#62; 新的gb2312的库文件名 来转换编码试试 4.0导入到4.1 导出sql文件之后,在文件最顶端加入 set names `gbk(或者utf8)`; 然后替换每个 TYPE=MyISAM 为 TYPE=MyISAM CHARACTER SET gbk(或者utf8) 来指定编码，应该就没有问题了. MySQL 4.1以上的版本，如MySQL 5.0在字符集上的处理方式和4.1一样，原因在于MySQL 4.0之前没有引入字符集一说，而在MySQL 4.1以后有了字符集。如果直接将MySQL4.0升级到4.1以上，强制指定连接字符集为latin1就不会有乱码了。 本文原创，转载请注明来自：http://www.newphp.net/contents/123-characters-in-mysql-40-and-41up]]></description>
			<content:encoded><![CDATA[<h2>4.1导入到4.0</h2>
<p>导出的时候用命令行的方式,不容易出问题</p>
<blockquote><p>mysqldump -uroot -pPassword &#8211;compatible=mysql40 &#8211;default-character-set=utf8(或者gb2312或者gbk) 数据库名 &gt; 文件名.sql</p></blockquote>
<p>这样不容易出问题，或者导入的时候，去掉sql文件里面所有指定编码的部分，甚至可以用</p>
<blockquote><p>iconv -c -f UTF-8 -t GB2312 库文件名 &gt; 新的gb2312的库文件名</p></blockquote>
<p>来转换编码试试</p>
<h2>4.0导入到4.1</h2>
<p>导出sql文件之后,在文件最顶端加入</p>
<blockquote><p>set names `gbk(或者utf8)`;</p></blockquote>
<p>然后替换每个</p>
<blockquote><p>TYPE=MyISAM</p></blockquote>
<p>为</p>
<blockquote><p>TYPE=MyISAM CHARACTER SET gbk(或者utf8)</p></blockquote>
<p>来指定编码，应该就没有问题了.</p>
<p>MySQL 4.1以上的版本，如MySQL 5.0在字符集上的处理方式和4.1一样，原因在于MySQL 4.0之前没有引入字符集一说，而在MySQL 4.1以后有了字符集。如果直接将MySQL4.0升级到4.1以上，强制指定连接字符集为latin1就不会有乱码了。</p>
<p>本文原创，转载请注明来自：<a href="http://www.newphp.net/contents/123-characters-in-mysql-40-and-41up">http://www.newphp.net/contents/123-characters-in-mysql-40-and-41up</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/123/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress的404错误太消资源</title>
		<link>http://www.newphp.net/contents/147/</link>
		<comments>http://www.newphp.net/contents/147/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 11:56:35 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=147</guid>
		<description><![CDATA[一直以来，小张的linux服务器都是我在维护，不过近段时间衡天小张在美国的服务器非常不稳定，原来只是随意的处理了下下，负载降下来了就没再去管，因为最近的事情比较多比较烦，所以也没太多的精力去查是怎么回事。 昨天晚上在San Jose的那台服务器的五分钟负载居然越过了100，把我惹毛了，下定决定要把这个事情解决好，于是查apache请求状态以及分析访问日志，查出的结果很让人吃惊，是wodpress的404页面引起的高负载。 或许，一两个404错误倒没什么，不可能引起这么高的负载。但我们这样打个比方来计算，在安装了wp-super-cache插件的情况下，正常页面访问需要1个CPU单位时间，内存10M，404页面需要消耗的CPU单位时间根据所安装的插件的情况不同，可能需要20个甚至更多，内存30M甚至更多。也就是说wordpress的404消耗的资源是正常访问的20倍以上，从整台服务器来看，高并发wordpress的404可能会导致服务器完全崩溃。所以我得出一个结论，wordpress的404页面成了资源杀手。 现在知道怎么回事了，于是就开始处理，先是查到哪些有很多404的，就把那些帐号给小张，让小张停了。但是停不是办法呀，现在停了，恢复了还是会有404。于是再仔细查，发现很多是mp3的404，那肯定是原来放过mp3文件，而这些文件被百度音乐或是其它的给收录了。现在文件不存在，可能因为各种原因，比如太消耗流量，或者是因为版权的问题，把mp3文件删除了，但那些盗链的信息还在，还是有源源不断的请求，特别是在上网高峰期的时候，请求会更多。所以现在该下手对那些mp3的404下手。前面说了，封帐号不是办法，于是用.htaccess来处理。先找到mp3的404很多的站点，编辑.htaccess，在 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d 之后添加一句 RewriteCond %{REQUEST_FILENAME} !\.mp3$ 意思就是说，如果请求的文件不是以mp3结尾，则做下面的Rewrite规则。 修改了以后，情况慢慢得到好转了，然后继续从日志里找，找到那些有很多mp3文件请求的404站点，在里面都加了RewriteCond %{REQUEST_FILENAME} !\.mp3$，一切都得到解决了。 在wordpress启用了“永久自定义链接”了以后，所有的当文件不存在请求，都会rewrite到index.php文件，然后所有的都是由index.php来运行，来判断。而wp-super-cache这个插件，貌似不对404页面做缓存，所以这就是问题所在。 另外，在小张的服务器上，偶尔会遇到wordpress因为插件的问题，程序访问自身，出现死循环而大量消耗服务器资源，甚至导致服务器崩溃的情况，为什么会出现这样的情况，目前还没有仔细研究过。 所以建议各位使用wordpress的朋友做这些设置： 1、安装wp-super-cache插件并完全启用它 2、有一个插件叫No Self Pings，这个插件是防止自己ping自己，个人认为对程序访问自身有一定的效果 3、修改.htaccess里wordpress自生的规则，添加 RewriteCond %{REQUEST_FILENAME} !\.(css&#124;js&#124;txt&#124;mp3&#124;zip&#124;png&#124;gif&#124;jpe?g&#124;exe&#124;rmvb&#124;rm&#124;avi)$ 。这个规则的意思是排除css,js,txt,mp3,zip,png,gif,jpg,jpeg,exe,rmvb,rm,avi文件的重写，不管文件是否存在，都直接读，不经过wordpress。下面是一个完整的建议规则。 # BEGIN WordPress &#60;IfModule mod_rewrite.c&#62; RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !\.(css&#124;js&#124;txt&#124;mp3&#124;zip&#124;png&#124;gif&#124;jpe?g&#124;exe&#124;rmvb&#124;rm&#124;avi)$ RewriteRule . /index.php [L] &#60;/IfModule&#62; # [...]]]></description>
			<content:encoded><![CDATA[<p>一直以来，小张的linux服务器都是我在维护，不过近段时间衡天小张在美国的服务器非常不稳定，原来只是随意的处理了下下，负载降下来了就没再去管，因为最近的事情比较多比较烦，所以也没太多的精力去查是怎么回事。</p>
<p>昨天晚上在San Jose的那台服务器的五分钟负载居然越过了100，把我惹毛了，下定决定要把这个事情解决好，于是查apache请求状态以及分析访问日志，查出的结果很让人吃惊，是<a title="WordPress" rel="nofollow" href="http://wordpress.org/" target="_blank">wodpress</a>的404页面引起的高负载。</p>
<p>或许，一两个404错误倒没什么，不可能引起这么高的负载。但我们这样打个比方来计算，在安装了<a title="WP Super Cache" rel="nofollow" href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">wp-super-cache</a>插件的情况下，正常页面访问需要1个CPU单位时间，内存10M，404页面需要消耗的CPU单位时间根据所安装的插件的情况不同，可能需要20个甚至更多，内存30M甚至更多。也就是说wordpress的404消耗的资源是正常访问的20倍以上，从整台服务器来看，高并发wordpress的404可能会导致服务器完全崩溃。所以我得出一个结论，wordpress的404页面成了资源杀手。<span id="more-147"></span></p>
<p>现在知道怎么回事了，于是就开始处理，先是查到哪些有很多404的，就把那些帐号给小张，让小张停了。但是停不是办法呀，现在停了，恢复了还是会有404。于是再仔细查，发现很多是mp3的404，那肯定是原来放过mp3文件，而这些文件被百度音乐或是其它的给收录了。现在文件不存在，可能因为各种原因，比如太消耗流量，或者是因为版权的问题，把mp3文件删除了，但那些盗链的信息还在，还是有源源不断的请求，特别是在上网高峰期的时候，请求会更多。所以现在该下手对那些mp3的404下手。前面说了，封帐号不是办法，于是用.htaccess来处理。先找到mp3的404很多的站点，编辑.htaccess，在</p>
<blockquote><p>RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d</p></blockquote>
<p>之后添加一句</p>
<blockquote><p>RewriteCond %{REQUEST_FILENAME} !\.mp3$</p></blockquote>
<p>意思就是说，如果请求的文件<span style="color: #ff0000;">不是</span>以mp3结尾，则做下面的Rewrite规则。</p>
<p>修改了以后，情况慢慢得到好转了，然后继续从日志里找，找到那些有很多mp3文件请求的404站点，在里面都加了RewriteCond %{REQUEST_FILENAME} !\.mp3$，一切都得到解决了。</p>
<p>在wordpress启用了“永久自定义链接”了以后，所有的当文件不存在请求，都会rewrite到index.php文件，然后所有的都是由index.php来运行，来判断。而wp-super-cache这个插件，貌似不对404页面做缓存，所以这就是问题所在。</p>
<p>另外，在小张的服务器上，偶尔会遇到wordpress因为插件的问题，程序访问自身，出现死循环而大量消耗服务器资源，甚至导致服务器崩溃的情况，为什么会出现这样的情况，目前还没有仔细研究过。</p>
<p>所以建议各位使用wordpress的朋友做这些设置：</p>
<p>1、安装<a title="WP Super Cache" rel="nofollow" href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">wp-super-cache</a>插件并完全启用它<br />
2、有一个插件叫<a title="No Self Pings" rel="nofollow" href="http://wordpress.org/extend/plugins/no-self-ping/" target="_blank">No Self Pings</a>，这个插件是防止自己ping自己，个人认为对程序访问自身有一定的效果<br />
3、修改.htaccess里wordpress自生的规则，添加 <span style="color: #3366ff;">RewriteCond %{REQUEST_FILENAME} !\.(css|js|txt|mp3|zip|png|gif|jpe?g|exe|rmvb|rm|avi)$ </span>。这个规则的意思是排除css,js,txt,mp3,zip,png,gif,jpg,jpeg,exe,rmvb,rm,avi文件的重写，不管文件是否存在，都直接读，不经过wordpress。下面是一个完整的建议规则。</p>
<blockquote><p># BEGIN WordPress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
<span style="color: #3366ff;">RewriteCond %{REQUEST_FILENAME} !\.(css|js|txt|mp3|zip|png|gif|jpe?g|exe|rmvb|rm|avi)$</span><br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;</p>
<p># END WordPress</p></blockquote>
<p>本文原创，转载请注明来自：<a href="http://www.newphp.net/contents/147-404-error-of-wordpress-spend-too-much-cpu-time-and-memory">http://www.newphp.net/contents/147-404-error-of-wordpress-spend-too-much-cpu-time-and-memory</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/147/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>.htaccess的一些功能举例</title>
		<link>http://www.newphp.net/contents/131/</link>
		<comments>http://www.newphp.net/contents/131/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 09:05:30 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=131</guid>
		<description><![CDATA[通过.htaccess可以自行设置空间的一些自定义参数，下面举了一些例子。不过要注意，如果.htaccess错误，会引起500错误。 自定义错误页面，如403或404页面 ErrorDocument 404 /404.html ErrorDocument 403 /403.html 404.html &#8211; 页面不存在 403.html &#8211; 禁止访问或没有权限 允许浏览没有默认主页的目录: Options +Indexes 禁止浏览没有默认主页的目录: Options +Indexes 防盗链: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://.*\.yourdomain1\.com [NC,OR] RewriteCond %{HTTP_REFERER} !^http://.*\.yourdomain2\.com [NC] RewriteRule \.(jpe?g&#124;gif&#124;png)$ &#8211; [F] 启用jpg,jpeg,gif,png文件的防盗链 yourdomain1.com和yourdomain2.com允许引用jpg,jpeg,gif,png文件 封IP: order allow,deny deny from 192.168.0.101 deny from 10.0.0. allow from all 封掉单个IP192.168.0.101，以及封掉10.0.0整个IP段 本文原创，转载请注明来自：http://www.newphp.net/contents/131-some-example-of-htaccess]]></description>
			<content:encoded><![CDATA[<p>通过.htaccess可以自行设置空间的一些自定义参数，下面举了一些例子。不过要注意，如果.htaccess错误，会引起500错误。</p>
<p>自定义错误页面，如403或404页面</p>
<blockquote><p>ErrorDocument 404 /404.html<br />
ErrorDocument 403 /403.html</p></blockquote>
<p>404.html &#8211; 页面不存在<br />
403.html &#8211; 禁止访问或没有权限</p>
<p>允许浏览没有默认主页的目录:</p>
<blockquote><p>Options +Indexes</p></blockquote>
<p>禁止浏览没有默认主页的目录:</p>
<blockquote><p>Options +Indexes</p></blockquote>
<p>防盗链:</p>
<blockquote><p>RewriteEngine on<br />
RewriteCond %{HTTP_REFERER} !^http://.*\.yourdomain1\.com [NC,OR]<br />
RewriteCond %{HTTP_REFERER} !^http://.*\.yourdomain2\.com [NC]<br />
RewriteRule \.(jpe?g|gif|png)$ &#8211; [F]</p></blockquote>
<p>启用jpg,jpeg,gif,png文件的防盗链<br />
yourdomain1.com和yourdomain2.com允许引用jpg,jpeg,gif,png文件</p>
<p>封IP:</p>
<blockquote><p>order allow,deny<br />
deny from 192.168.0.101<br />
deny from 10.0.0.<br />
allow from all</p></blockquote>
<p>封掉单个IP192.168.0.101，以及封掉10.0.0整个IP段</p>
<p>本文原创，转载请注明来自：<a href="http://www.newphp.net/contents/131-some-example-of-htaccess">http://www.newphp.net/contents/131-some-example-of-htaccess</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/131/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache中安装mod_flvx和mod_h264_streaming</title>
		<link>http://www.newphp.net/contents/121/</link>
		<comments>http://www.newphp.net/contents/121/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 08:18:45 +0000</pubDate>
		<dc:creator>邋遢猪仔</dc:creator>
				<category><![CDATA[技术相关]]></category>

		<guid isPermaLink="false">http://www.newphp.net/?p=121</guid>
		<description><![CDATA[安装mod_flvx 下载 mod_flvx.c wget http://people.apache.org/~pquerna/modules/mod_flvx.c  编译并安装module: /usr/local/apache/bin/apxs -i -a -c mod_flvx.c  添加配置到/usr/local/apache/conf/httpd.conf AddHandler flv-stream .flv  使记录生效: /etc/init.d/httpd restart 安装mod_h264_streaming 下载mod_h264_streaming: wget http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/apache/mod_h264_streaming.c wget http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.c wget http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.h 编译并安装module: /usr/local/apache/bin/apxs -c -i mod_h264_streaming.c moov.c 添加配置到/usr/local/apache/conf/httpd.conf LoadModule h264_streaming_module modules/mod_h264_streaming.so AddHandler h264-streaming.extensions .mp4  使记录生效: /etc/init.d/httpd restart 本文原创，转载请注明来自：http://www.newphp.net/contents/121-install-mod_flvx-and-mod_h264_streaming-with-apache]]></description>
			<content:encoded><![CDATA[<h3>安装mod_flvx</h3>
<p>下载 mod_flvx.c</p>
<blockquote><p>wget <a href="http://people.apache.org/~pquerna/modules/mod_flvx.c">http://people.apache.org/~pquerna/modules/mod_flvx.c</a></p></blockquote>
<p> 编译并安装module:</p>
<blockquote><p>/usr/local/apache/bin/apxs -i -a -c mod_flvx.c</p></blockquote>
<p> 添加配置到/usr/local/apache/conf/httpd.conf</p>
<blockquote><p>AddHandler flv-stream .flv</p></blockquote>
<p> 使记录生效:</p>
<blockquote><p>/etc/init.d/httpd restart</p></blockquote>
<h3>安装mod_h264_streaming</h3>
<p>下载mod_h264_streaming:</p>
<blockquote><p>wget <a href="http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/apache/mod_h264_streaming.c">http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/apache/mod_h264_streaming.c</a><br />
wget <a href="http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.c">http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.c</a><br />
wget <a href="http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.h">http://h264.code-shop.com/svn/h264/tags/mod_h264_streaming-2.0/mp4split/moov.h</a></p></blockquote>
<p>编译并安装module:</p>
<blockquote><p>/usr/local/apache/bin/apxs -c -i mod_h264_streaming.c moov.c</p></blockquote>
<p>添加配置到/usr/local/apache/conf/httpd.conf</p>
<blockquote><p>LoadModule h264_streaming_module modules/mod_h264_streaming.so<br />
AddHandler h264-streaming.extensions .mp4</p></blockquote>
<p> 使记录生效:</p>
<blockquote><p>/etc/init.d/httpd restart</p></blockquote>
<p>本文原创，转载请注明来自：<a href="http://www.newphp.net/contents/121-install-mod_flvx-and-mod_h264_streaming-with-apache">http://www.newphp.net/contents/121-install-mod_flvx-and-mod_h264_streaming-with-apache</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.newphp.net/contents/121/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.newphp.net @ 2012-02-23 11:51:54 -->
