I want to resolve the problem of ajax cross domain by the rewrite or proxy. In apache,I use these: <VirtualHost *:80> ServerAdmin misnet@hotmail.com DocumentRoot V:/workspace/webserver/wwwRoot ServerName www.dkb.net.cn ServerAlias *.dkb.net.cn RewriteEngine on RewriteCond %{QUERY_STRING} ^url=http://(login|yj|mc|img).dkb.net.cn(.+)$ RewriteRule ^/doprby misnet - Migration from Other Servers