Apache至今仍处于web服务器领域的霸主,无人撼动,没有开发者不知道。本篇文章介绍25个Apache性能优化的技巧,如果你能理解并掌握,将让你的Apache性能有显著的提升! (continue reading…)
apache
.htaccess二级域名绑定子目录
RewriteCond %{HTTP_HOST} ^(bbs|blog|download).domain.com$
RewriteRule ^(.*)$ /%1/$1 [L, NC] (continue reading...)
typo3 – lockssl 出错
对于虚拟主机lockssl模式2会出现无限reload问题,原因在于https 应该是允许虚拟主机的,只是不允许 NameVirtualHost,需要用 IP Based 虚拟主机,每个虚拟主机占用一个 IP。 (continue reading…)
Windows环境下配置Apache SSL
———-
前提条件
———-
在设置Apache + SSL之前, 需要做:
1. 安装Apache, 请参见: Windows环境下Apache的安装与虚拟目录的配置, 下载安装Apache时请下载带有ssl版本的Apache安装程序. (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…)
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…)
Apache.Keep Alive.配置
在 Apache 服务器中,KeepAlive 是一个布尔值,On 代表打开,Off 代表关闭,这个指令在其他众多的 HTTPD 服务器中都是存在的。 (continue reading…)
