投稿 评论 顶部

二级域名伪静态

佚名 网络安全
[html]? view plain copy
  1. RewriteEngine?on???
  2. RewriteCond?%{HTTP_HOST}?^[a-z0-9\-]+\.111g\.com$???
  3. RewriteCond?%{HTTP_HOST}?!^(demo1|bbs)\.111g\.com$???
  4. RewriteRule?^/?$?/%{HTTP_HOST}???
  5. RewriteRule?^/([a-z0-9\-]+)\.111g\.com/?$?/index.php?ct=official&ac=aaa??

?

?

实现:aaa.111g.com ? 伪静态到 ?demo1.111g.com/index.php?ct=official&ac=aaa