User Request: https://www.example.com/test
HTTPS requests --> AWS ELB HTTPS Listener --> Apache HTTP
Apache getting http://www.example.com/test
Apache redirect it to http://www.example.com/test/
due to DirectorySlash is On by default.
User ends up with a HTTP request: http://www.example.com/test/
AWS provides a HEAD to detect origin request protocol: %{HTTP:X-Forwarded-Proto}
, but how do I tell Apache mod_dir DirectorySlash to use that Header?
Please advise your solution or workaround in this scenario.