Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模式匹配转发会丢失目标子路径 #103

Open
lokewei opened this issue Nov 3, 2016 · 0 comments
Open

模式匹配转发会丢失目标子路径 #103

lokewei opened this issue Nov 3, 2016 · 0 comments

Comments

@lokewei
Copy link

lokewei commented Nov 3, 2016

模式规则:

'GET /(.*\.do)': 'http://127.0.0.1:8080/BackGround/'
image
tomcat访问日志:
127.0.0.1 - - [03/Nov/2016:22:46:32 +0800] "GET /finance/getInvoiceByAdvance.do HTTP/1.1" 404 1011

普通转发:

'GET /finance/getInvoiceByAdvance.do': 'http://127.0.0.1:8080/BackGround/'
image

tomcat访问日志:
127.0.0.1 - - [03/Nov/2016:22:45:02 +0800] "GET /BackGround/finance/getInvoiceByAdvance.do HTTP/1.1" 200 2059

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant