.htaccess怎样让某域名指向某一个文件
看小雪 2014-01-26 07:47:13 我现在想将某域名指向一个文件:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^huixianpifa.com [NC]
RewriteCond %{HTTP_HOST} ^www.huixianpifa.com [NC]
RewriteRule ^(.*)$ sell.html [L,NC]
DirectoryIndex index.html index.php
那里错了?就是不生效。一直访问的是index.html