Apache:

Requst: www.xxx.com/block/*.html
Forward: yyy.xxx.com/block/*.html

RewriteRule /block/(.*)\.html http://yyy.xxx.com/block/$1.html

Nginx:

 

发表评论