Hide part of the URL from AWS Application Load Balancer

0

Hello,

I have url: https://backend-test.com/test/index.html. And i have rule within ALB that says If HOST HEADER is https://backend-test.com/ forward to target group test. I want to restrict /index.html and when customers browser this url it shows only ttps://backend-test.com/test, without the /index.html part.

How can i achieve this with AWS ALB Rules?

Vasko
feita há 7 meses270 visualizações
1 Resposta
0

3 Options..

  • You would have to create a rule that performs a redirect 301 or 302.
  • You could also block access to this URL but why would this be an issue?
  • You could on your webserver create some rules if using a .htaccess file to perform a URL redirect/rewrite
profile picture
ESPECIALISTA
respondido há 7 meses
  • Yeah, but how to structure that rule? I already have a rule that points to the target group. So am i suppose to add another rule? Would you like to give me an example?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas