Apache、resin、rewrit泛域名、多域名设置
时间:2009-03-14 来源:chengh628
- <VirtualHostip:80>
- rewriteengine on
- rewritecond %{HTTP_HOST} [^.]+\.域名\.com$
- rewriterule ^(.+) %{HTTP_HOST}$1 [C]
- rewriterule ([^.]+)\.域名\.com(.*) /$1$2
- 其他配置文件
- </VirtualHost>
Apache:












Resin:










多域名:
apache:


















































Resin:






相关阅读 更多 +