标签: tomcat url-rewriting
尝试更改网址:
http://1.1.1.1/test/word1/form
到
http://2.2.2.2/test/word2/form
如果仅更改IP:
RewriteCond %{HTTP_HOST} !^.*1\.1\.1\.1/ [NC] RewriteRule ^/(.*)$ http://2\.2\.2\.2/$1 [R]
但是我无法将word1更改为word2