二级域名伪静态怎么弄(htaccess)
两个域名都能正常访问(同IP,常规的二级域名)
domain.com
second.domain.com
想实现的是
second.domain.com/abc 跳转到 second.domain.com?c=abc
.htaccess是这样的,现在一切正常
<br />.............<br />RewriteRule ^good$ test/good.php //domain.com/good 正常访问<br /><br />RewriteCond %{HTTP_HOST} ^second.domain.com$ [NC]<br />RewriteRule ^/(.*)$ /?c=$1 //second.domain.com/abc 404<br />