摘要: 原文地址:http://blog.csdn.net/catoop/article/details/48107279 最近在项目中使用 apache 做页面静态化,需要实现一个需求: 当用户访问 index.html 的时候,让 apache 判断如果index.html 不存在,就转向 index. 阅读全文
posted @ 2016-10-05 09:10 zbchls 阅读(861) 评论(0) 推荐(0) 编辑
摘要: RewriteCond就像我们程序中的if语句一样,表示如果符合某个或某几个条件则执行RewriteCond下面紧邻的RewriteRule语句,这就是RewriteCond最原始、基础的功能,为了方便理解,下面来看看几个例子。 复制代码代码如下: RewriteEngine onRewriteCo 阅读全文
posted @ 2016-10-05 08:58 zbchls 阅读(2366) 评论(0) 推荐(0) 编辑