摘要:
教程写法是这样的:RewriteEngine OnRewriteCond %{HTTP_HOST} ^(www\.)?xxx\.com$RewriteCond %{REQUEST_URI} !^/blog/RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ /blog/$1# 没有输入文件名的默认到到首页RewriteCond %{HTTP_HOST} ^(www\.)?xxx\.com$RewriteRule ^(/)?$ blog/index.php [L]下面我开 阅读全文