1 Answer
- Newest
- Most votes
- Most comments
0
Unfortunately, this is the same behavior when using the console. If you try from there, it returns Invalid path message
and doesn't let you save the rule.
Traditionally, 3xx redirects don't allow this generally, since the anchor is only processed on the client side. More recently, that spec has been updated, however ALB still doesn't support it properly.
That said, I was experimenting with this a bit, and I found that it seems to work if you put this into the query attribute. It does add a ? character as well, but the anchor seems to work. For example:
- Host:
en.wikipedia.org
- Path:
/wiki/Foobar
- Query:
#See_also
This rule causes a redirect to https://en.wikipedia.org:443/wiki/Foobar?#See_also
, which does seem to behave as an anchor link should, though the ?
should generally be unneeded for this.
Relevant content
- asked 6 months ago
- Accepted Answerasked 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago