①使服务器解析include包含
RewriteEngine On
AddHandler server-parsed html
②重定向请求(页面在“html”文件夹下,如遇cgi文件不跳转)
RewriteBase /
RewriteRule ^$ html/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ html/$1 [L]
posted on 2013-08-27 17:04
Ying-er 阅读(164)
评论(0) 编辑 收藏