我需要做下面..所遇到的各种例子,但我需要三个条件正则表达式来非WWW重定向到www和子域到文件
结合重定向 1)重定向非WWW /非子域名的请求。例如:
http://xyzsite.com到http://www.xyzsite.com
2)重定向如果子域被提及。例如:
http://user1.xyzsite.com到http://www.xyzsite.com/profile?user1
3)重定向到移动版本。例如:
http://m.xyzsite.com到http://www.xyzsite.com/m
技术细节: 我为在IIS版本6 &使用helicontech的ISAPI_Rewrite模块
什么IIS的版本? – Tomek 2012-03-20 14:03:23