Archive for 八月, 2010

TS判断系统与浏览器

General notes:

Values are normally trimmed for whitespaces before comparison.

You may combine several conditions with two operators: && (and), || (or)

Alternatively you may use “AND” and “OR” instead of “&&” and “||”. The AND operator has always higher precedence over OR. If no operator has been specified, it will default to OR. (continue reading…)


.Htaccess rewrites, Mod_Rewrite Tricks and Tips

Mod_Rewrite Tips and Tricks are lot of .htaccess rewrite examples that show specific uses for creating .htaccess rewrites to do all kinds of cool and profitable stuff for your site. Htaccess Rewrites are enabled by using the Apache module mod_rewrite, which is one of the most powerful Apache modules and features availale. Htaccess Rewrites through mod_rewrite provide the special ability to Rewrite requests internally as well as Redirect request externally. (continue reading…)


date_default_timezone_set()设置时区

<?php

echo function_exists(date_default_timezone_set)."<br>";//在这他总是返回1,这函数是判断这里面的字符是不是一个定义了的函数名
echo date('Y-m-d H:i:s')."<br>";//默认时区的时间 (continue reading...)

apache的配置方面入手来详解apache调优

调优是一个大主题,涉及面颇广。目前受条件所限,大部分人可能只能从apache本身入手调优。所以本文将主要从apache的配置方面入手来详解apache调优。希望对正在使用apache的朋友有所裨益,有什么问题欢迎交流探讨,大家共同学习共同进步! (continue reading…)


index_search配置注意事项

有朋友配置index_search后indexing总是没有效果,最可能原因就是页面禁止缓存了. (continue reading…)


502.Bad Gateway!

Bad Gateway!

The proxy server received an invalid response from an upstream server.

If you think this is a server error, please contact the webmaster. (continue reading…)

1 Comment more...

Apache.Keep Alive.配置

在 Apache 服务器中,KeepAlive 是一个布尔值,On 代表打开,Off 代表关闭,这个指令在其他众多的 HTTPD 服务器中都是存在的。 (continue reading…)




ASCII


Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress