After deploying the code, setting up the rewrite rule when I finally go
to access the site in the browser it prompts to a download popup. It
says “You have chosen to open which is a httpd/unix-directory”.
I have set the proper Content-Type header to text/html. Even after
googling for a day no luck. Any help will be appreciated.
Thanks in advance.