2 Answers
- Newest
- Most votes
- Most comments
0
Setting a path based rule like /product
simply means that any request that has a URI ending in /product would now be forwarded to your target group. It does not rewrite the URI.
Your Apache Server presumably would not have a document to serve for http://<your-domain/product
and therefore returns a 404 to the ALB.
0
Hello.
Is there a directory named "/product" in your target EC2 path?
If there is no content in this directory, a 404 error will be generated.
Relevant content
- asked a year ago
- Accepted Answerasked 2 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 10 days ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
I understand your answer also means the same but I couldn't understand immediately. With additonal information from Max's answer it was a bit clearer. Thanks anyway.