I created an api in wso2 api manager 2.0 publisher. When I publish this api, I have some resource /Some/things In the wso2 store. If I keep the case as is in the URL, then my api works. If I use any other tool to call and change the case in url to then I get a 202 error.
I know the WSO2 API Manager is handling the API URL correctly but i want to disable these feature.
how can i do this??
Asked
Active
Viewed 538 times
0

Soli
- 545
- 5
- 11
-
So... you want to *enable* or *disable* case-sensitive URL handling? If the case is wrong you want to ... what, exactly? – Christopher Schultz Dec 15 '16 at 22:53
-
i want to disable case-sensitive URL handling in wso2 api manager. – Soli Dec 16 '16 at 19:57
-
Then you'll need to get wso2 api manager to ignore case. Tomcat can't enforce that kind of interpretation. – Christopher Schultz Dec 17 '16 at 16:18
-
Possible duplicate of [Case Insensitive URLs for wso2 Request URL](http://stackoverflow.com/questions/26087790/case-insensitive-urls-for-wso2-request-url) – Dakshika Dec 20 '16 at 02:26
-
@Dakshika. if you can add duplicate URL into API manager, you should insert URL with deferential case. 1 - http://MyServerName.com/mystudents/students/foo 2- http://MyServerName.com/Mystudents/students/foo 3- http://MyServerName.com/MYstudents/students/foo 4-... – Soli Dec 21 '16 at 16:26
1 Answers
1
There is no option to disable case-sensitive in api manager. But you can rewrite the request url by any reverse proxy and send the request to apim. e.g nginx url redirect[1]
[1] https://www.nginx.com/blog/creating-nginx-rewrite-rules/

Jenananthan
- 1,381
- 2
- 10
- 20