apache域名重定向301跳转 .htaccess的写法时间:2022-08-15 10:15:08RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^baidu.com$ [NC] RewriteRule ^(.*)$ http://www.baidu.com/$1 [R=301,L]