2015-04-01 93 views

回答

0

畢竟,我來到這個解決方案:

RewriteCond %{REQUEST_URI} ^/sitemap.xml$ 
RewriteCond %{HTTP_HOST} ^(.*)\.site\.com 
RewriteRule ^(.*)$ http://%1.site.com/sitemap/%1.xml [L,NC,P]