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

rewrite规则,404 #6

Open
Elaine87 opened this issue Jul 11, 2016 · 1 comment
Open

rewrite规则,404 #6

Elaine87 opened this issue Jul 11, 2016 · 1 comment

Comments

@Elaine87
Copy link

路径如上:http://127.0.0.1:8080/WEB-INF/views/bapp/page/mine/,可以看到这个文件,但是通过rewrite的规则:rewrite ^/mine/index$ page/mine/index.vm,然后http://127.0.0.1:8080/mine/index
报404错误。

@oxUnd
Copy link

oxUnd commented Jul 13, 2016

正则写错了吧

rewrite ^\/mine\/index$ page/mine/index.vm

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

2 participants