排序
apache 二级域名解析实现方法
RewriteEngine on RewriteMap lowercase int:tolower RewriteMap vhost txt:/usr/local/etc/apache/vhost.map RewriteCond ${lowercase:%{SERVER_NAME}} ^(.+)$ RewriteCond ${vhost:%1} ^(/.*)...
apache 二级域名解析 (window与linux)
winxp os: c:/windows/system32/drivers/etc/hosts add a line like : 127.0.0.1 hangzhou.localhost 127.0.0.1 xihu.localhost linux os: 首先,你的拥有一个有泛域名解析的顶级域名,例如: d...
nginx配置文件详解中文版
nginx默认配置文件 nginx.conf手大部分命令,并加以中文注释说明,实际配置中可能没有这么复杂,这里只能作为一个参考阅读文档! 一、nginx基本配置 #定义Nginx运行的用户和用户组,系统中必须有...
浅谈PHP各环境下的伪静态配置
一、Apache的伪静态配置 1、网站根目录下需要有 .htaccess 文件,没有则自己创建一个,内容 <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCon...
WINDOWS下php5.2.4+mysql6.0+apache2.2.4+ZendOptimizer-3.3.0配置
第一: 装http服务器apache apache安装完成,如果出现apache端口被占用的情况,请关闭你的迅雷,或者某些杀毒软件! 第二步:安装PHP: 1)、将php-5.2.4-Win32.zip压缩包解压,然后复制到C:并更...
Win2003+apache+PHP+SqlServer2008 配置生产环境
安装前的准备: 1 2 3 4 5 6 7 1.Apache2.2.2 2.PHP5.2.17 3.SqlServer2008 4.sqlncli.msi(SqlServer客户端,可以到微软官方网站去下载) 5.ntwdblib.dll (2000.80.194.0) 6.SQLSRV20.exe,即Mi...
zblog提示“权限不足,请联系网站管理员!”的解决办法
阿里云虚拟主机通过域名访问网站浏览器地址栏显示跳转到其他域名
NGINX下配置404错误页面的方法分享
1. 创建自己的404.html页面 2.更改nginx.conf在http定义区域加入: fastcgi_intercept_errors on; 3.更改nginx.conf(或单独网站配置文件,例如在nginx -> sites-enabled下的站点配置文件 )...
ThinkPHP使用Ueditor的方法详解
ThinkPHP使用Ueditor的方法。具体如下: 相信很多人现在还在用着FCkeditor,以前我也在用,可是后来发现百度的Ueditor之后,发现,Ueditor比Fckeditor更好看,操作性上也比Fckeditor好多了,所...










