<?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>草窟设计 &#187; lamp</title>
	<atom:link href="http://www.yaoyingying.com/tag/lamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yaoyingying.com</link>
	<description>Wordpress, Drupal 二次开发~</description>
	<lastBuildDate>Wed, 08 Feb 2012 12:54:01 +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>&quot;Fatal error: Maximum execution time&quot;</title>
		<link>http://www.yaoyingying.com/2009/07/08/fatal-error-maximum-execution-time/</link>
		<comments>http://www.yaoyingying.com/2009/07/08/fatal-error-maximum-execution-time/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 09:42:33 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[代码人生]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Fatal error]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[Maximum execution time]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[set_time_limit]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=452</guid>
		<description><![CDATA[“Fatal error: Maximum execution time of 60 seconds exceeded in &#8230;” 这种错误大多出现在一些执行时间比较久的程序，例如循环、读取、上传等等（瞎写凑字数）。 大多原因在于 PHP 环境的PHP.ini 里的 max_execution_time 的设置，30，60，90&#8230;.,但是有时候我们需要更长的时间，几小时，几十小时，总不可能都在这儿修改，况且大多空间是不让你改的。 这样最简便的方法就是在程序头加上这样一句： set_time_limit(0); 不限制执行时间，OK，问题就算解决了！]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/07/08/fatal-error-maximum-execution-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess 的一点用法</title>
		<link>http://www.yaoyingying.com/2009/06/12/htaccess-%e7%9a%84%e4%b8%80%e7%82%b9%e7%94%a8%e6%b3%95/</link>
		<comments>http://www.yaoyingying.com/2009/06/12/htaccess-%e7%9a%84%e4%b8%80%e7%82%b9%e7%94%a8%e6%b3%95/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:15:41 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[lamp]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=378</guid>
		<description><![CDATA[LAMP 环境里可以很容易的通过 .HTACCESS 进行一些网站的设置 网站引索： DirectoryIndex index.php index.htm index.html 域名重定向，将yaoyingying.com 重定向到 www.yaoyingying.com RewriteEngine On RewriteCond %{HTTP_HOST} ^yaoyingying\.com$ [NC] RewriteRule ^(.*)$ http://www.yaoyingying.com/$1 [R=301,L] 下面这些对静态页网站的 URL 优化就有很大帮组了，取好每个页面文件的名字，通过 下面的规则进行目录结构式优化。 RewriteRule ^([a-z]+)\/([a-z0-9]+)-([a-z0-9]+)\/$ $1_$2-$3.php [QSA,L] RewriteRule ^([a-z]+)\/([a-z]+)-([a-z]+)\/$ $1_$2-$3.php [QSA,L] RewriteRule ^([a-z]+)\/([a-z]+)-([a-z]+)-([a-z]+)\/$ $1_$2-$3-$4.php [QSA,L] RewriteRule ^([a-z]+)-([a-z]+)\/([a-z]+)\/$ $1-$2_$3.php [QSA,L] RewriteRule ^([a-z]+)-([a-z]+)\/([a-z]+)-([a-z]+)\/$ $1-$2_$3-$4.php [QSA,L] RewriteRule ^([a-z]+)-([a-z]+)\/([a-z]+)-([a-z]+)-([a-z]+)\/$ $1-$2_$3-$4-$5.php [QSA,L] &#160; RewriteRule ^([a-z]+)\/([a-z0-9]+)\/$ $1_$2.php [QSA,L] [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/06/12/htaccess-%e7%9a%84%e4%b8%80%e7%82%b9%e7%94%a8%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache 通过 .htaccess 对目录加密</title>
		<link>http://www.yaoyingying.com/2009/06/01/apache-%e9%80%9a%e8%bf%87-htaccess-%e5%af%b9%e7%9b%ae%e5%bd%95%e5%8a%a0%e5%af%86/</link>
		<comments>http://www.yaoyingying.com/2009/06/01/apache-%e9%80%9a%e8%bf%87-htaccess-%e5%af%b9%e7%9b%ae%e5%bd%95%e5%8a%a0%e5%af%86/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 12:49:02 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[目录加密]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=346</guid>
		<description><![CDATA[例如有/home/www/website/dir1 目录，需要对/dir1/加密访问，必须输入口令密码才能访问。 在这种情况下，要是/dir1/加密可以通过 .htaccess 和 .htpasswd 的设置来实现 在/home/www/website/dir1下建立.htaccess文件 vi /home/test1/a/.htaccess 文件内容如下 AuthName “===LOGIN===”   #随便填写 AuthType Basic AuthUserFile /home/www/website/dir1/.htpasswd Require valid-user username 保存退出 账号生成口令 htpasswd -c /home/test1/a/.htpasswd username 系统会要求输入两遍该用户的密码。 修改密码也是同样 htpasswd -c /home/test1/a/.htpasswd username]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/06/01/apache-%e9%80%9a%e8%bf%87-htaccess-%e5%af%b9%e7%9b%ae%e5%bd%95%e5%8a%a0%e5%af%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache日志分析</title>
		<link>http://www.yaoyingying.com/2009/05/02/apache%e6%97%a5%e5%bf%97%e5%88%86%e6%9e%90/</link>
		<comments>http://www.yaoyingying.com/2009/05/02/apache%e6%97%a5%e5%bf%97%e5%88%86%e6%9e%90/#comments</comments>
		<pubDate>Sat, 02 May 2009 14:15:45 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[日志分析]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=248</guid>
		<description><![CDATA[1,查看apache进程: ps aux &#124; grep httpd &#124; grep -v grep &#124; wc -l 2,查看80端口的tcp连接: netstat -tan &#124; grep &#34;ESTABLISHED&#34; &#124; grep &#34;:80&#34; &#124; wc -l 3,通过日志查看当天ip连接数，过滤重复: cat access_log &#124; grep &#34;20/Oct/2008&#34; &#124; awk '{print $2}' &#124; sort &#124; uniq -c &#124; sort -nr 4,当天ip连接数最高的ip都在干些什么(原来是蜘蛛): cat access_log &#124; grep &#34;20/Oct/2008:00&#34; &#124; grep &#34;122.102.7.212&#34; &#124; awk '{print [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/05/02/apache%e6%97%a5%e5%bf%97%e5%88%86%e6%9e%90/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache的rewrite的设置参数</title>
		<link>http://www.yaoyingying.com/2009/05/02/apache%e7%9a%84rewrite%e7%9a%84%e8%ae%be%e7%bd%ae%e5%8f%82%e6%95%b0/</link>
		<comments>http://www.yaoyingying.com/2009/05/02/apache%e7%9a%84rewrite%e7%9a%84%e8%ae%be%e7%bd%ae%e5%8f%82%e6%95%b0/#comments</comments>
		<pubDate>Sat, 02 May 2009 14:04:32 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[rewrite]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=243</guid>
		<description><![CDATA[Apache的rewrite的重写非常常用,现总结了一下. Apache mod_rewrite规则重写的标志一览 R[=code](force redirect) 强制外部重定向 强制在替代字符串加上http://thishost[:thisport]/前缀重定向到外部的URL.如果code不指定，将用缺省的302 HTTP状态码。 F(force URL to be forbidden)禁用URL,返回403HTTP状态码。 G(force URL to be gone) 强制URL为GONE，返回410HTTP状态码。 P(force proxy) 强制使用代理转发。 L(last rule) 表明当前规则是最后一条规则，停止分析以后规则的重写。 N(next round) 重新从第一条规则开始运行重写过程。 C(chained with next rule) 与下一条规则关联 如果规则匹配则正常处理，该标志无效，如果不匹配，那么下面所有关联的规则都跳过。 T=MIME-type(force MIME type) 强制MIME类型 NS (used only if no internal sub-request) 只用于不是内部子请求 NC(no case) 不区分大小写 QSA(query string append) 追加请求字符串 NE(no URI [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/05/02/apache%e7%9a%84rewrite%e7%9a%84%e8%ae%be%e7%bd%ae%e5%8f%82%e6%95%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server apt-get install Apache2 &amp; PHP5 &amp; MySQL5</title>
		<link>http://www.yaoyingying.com/2009/03/03/ubuntu-server-apt-get-install-apache2-php5-mysql5/</link>
		<comments>http://www.yaoyingying.com/2009/03/03/ubuntu-server-apt-get-install-apache2-php5-mysql5/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 15:42:46 +0000</pubDate>
		<dc:creator>姚 迎迎</dc:creator>
				<category><![CDATA[Linux-Server]]></category>
		<category><![CDATA[代码人生]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mysql5]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://www.yaoyingying.com/?p=22</guid>
		<description><![CDATA[用apt-get方法安装mysql5 + Apache2 + PHP5＋Phpmyadmin： 大家请先看下Ubuntu的WIKI，（http://wiki.ubuntu.org）上面讲的很详细的。但本人按上面做的第一次没有成功。apache2,php5,mysql5都可以运行，就是phpmyadmin不能用。 本人得到的经验是：MYSQL安成功后，一定要先给它设个密码，这上步是不可少的。 此篇只代表个人的观点和经验，可能会片面化和有错误，请大家批评指正，有问题大家一起来讨论！！ 1 .要用apt-get的方式安装，最好，也可能是必须先运行下面在命令升级自己的系统，我的就只能先升级后才能安装mysql5 + Apache2 + PHP5的。 我在没升级前运行sudo apt-get install apache2 php5 mysql-server 是没有用的。而如果你找的源不好或是你的网络不稳定的话，你也有可能升级不成。这样的话，你想用apt-get的方式来安装一些软件时可能是不能安装的。 sudo apt-get update sudo apt-get dist-upgrade 2.安装： sudo apt-get install mysql-server 安装上mysql5 sudo apt-get install apache2 安装apache2 sudo apt-get install php5 安装php5 sudo apt-get install php5-mysql 安装php的mysql模块 sudo apt-get install php5-gd 安装GD库 在运行上面的命令的时候，可以留心看下libapache2-mod-auth-mysql（安装apache2时可能会安上）和libapache2-mod-php5,如果看到安上了就不用再单独安装了。 3 [...]]]></description>
		<wfw:commentRss>http://www.yaoyingying.com/2009/03/03/ubuntu-server-apt-get-install-apache2-php5-mysql5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

