Score:0

AWS https website redirects to http when there is no slash at the end

cn flag

We have a client that hosts their IIS web server on AWS. When navigating to a particular PHP web application on this server, it works when there is a slash on the end, but not when it is absent.

this works: https://example.com.au/application/

However, if one were to enter this into the address bar: https://example.com.au/application

it redirects to the equivalent http address with a slash on the end: http://example.com.au/application/

http is disabled on that particular server, so the result is an error.

Here is the request details in Chrome debugger

enter image description here

So my question is, what does my client need to check to ensure this redirect does not occur? or that instead of redirecting to HTTP, it redirects to HTTPS?

Tim avatar
gp flag
Tim
This is an application level thing, not AWS. Look for the answer in IIS documentation / configuration.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.