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
demandé il y a 7 mois270 vues
1 réponse
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
EXPERT
répondu il y a 7 mois
  • 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?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions