Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.

Hi All,
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.