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.


Hi Atheeq,

I’m getting this a lot too at work. Are you using a cPanel shared
hosting or passenger_mod?

Best regards,

Dwight S., RHCE, LPIC-3, CEH, RAC Silver, VCP3, CAcert Assurer