我希望能够执行以下操作:
zi-1.ex.com rewrite to qa.ex.com with DocumentRoot as /var/www/html/zi-1
zi-2.ex.com rewrite to qa.ex.com with DocumentRoot as /var/www/html/zi-2
zi-3.ex.com rewrite to test.ex.com with DocumentRoot as /var/www/html/zi-3
要创建3个VirtualHost来执行此操作。有可能吗?
类似于Justmoon在这里的答案https://serverfault.com/questions/173046/how-to-change-document-root-based-on-url
谢谢。