Handling double slash // in URL path by Load Balancer

0

We have a website running on Beanstalk and served behind an application load balancer. When there is double slash in the URL e.g. https://example.com/en//page/path/ the load balancer forwards the request to https://example.com/en/page/path/ even though the URL in the browser remains as https://example.com/en//page/path/. How can we handle this so that the load balancer either forwards the request with the double slash to beanstalk or does a 301 redirect to sigle slash url.

Lmn-Dev
已提問 2 年前檢視次數 70 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南