apache 二级域名重写
求助各路大哥 http://letter.test.com/send/ 指向 /html/send/index.php?a=letter 的apache rewrite 规则怎样写?
[解决办法]
做个跳转
[解决办法]
RewriteCond %{HTTP_HOST} ^([a-zA-Z0-9]+)\.test\.com$ RewriteRule ^/?$ /%{HTTP_HOST} RewriteRule ^/([a-zA-Z0-9]+)\.test\.com/send/?$ /html/send/index.php?a=$1