-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Question migrate Apache httpd to spring gateway #3349
Comments
An example would be |
|
Comma seems to have an issue there |
Is the All I can really do is point you at the path pattern javadoc, which gives the most detailed explaination of the syntax https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/util/pattern/PathPattern.html |
Yes it is a typo. I need to extract fields separated by comma and process it internally. I was hoping somebody had a better solution |
Thank you for your response @spencergibb |
Hello,
I am trying to migrate the following apache httpd rule to spring gateway. So far it appears to be not working. Can you please lend me a helping hand?
ProxyPassMatch ^(\/v1)?\/rest\/v\/([^\/]+)\/m\/([^\/]+)\/path\/from\/(-?\d+\.?\d*),(-?\d+\.?\d*)\/to\/(-?\d+\.?\d*),(-?\d+\.?\d*)(\?.*)?$ http://localhost:8080/api/v1/public/v/$2/m/$3/path/from/$4,$5/to/$6,$7
The text was updated successfully, but these errors were encountered: