这是我的 htaccess:
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+?)\.imvu-e\.com$
RewriteCond /var/imvu/products/ht/clients/%1/ -d
RewriteRule ^(.+) %{HTTP_HOST}$1
RewriteRule ^(?:www\.)?([^.]+?)\.imvu-e\.com/(.*) /var/www/imvu/products/ht/clients/$1/$2 [L]
我想
anything.imvu-e.com
重定向到文件/var/imvu/products/ht/clients/anything/
因此http://anything.imvu-e.com/woot.php?var=4
去/var/imvu/products/ht/clients/anything/woot.php
发送它var=4
现在访问它的方式是http://www.imvu-e.com/products/ht/clients/anything/woot.php?var=4
换一个漂亮的怎么样
VirtualDocumentRoot
?