# Httpd/unix-directory

**URL:** <https://www.ruby-forum.com/t/httpd-unix-directory/216641>\
**Category:** Deployment\
**Created:** [February 9, 2012, 8:20pm UTC](https://www.ruby-forum.com/t/httpd-unix-directory/216641 "2012-02-09T20:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 9, 2012, 8:20pm UTC](https://www.ruby-forum.com/t/httpd-unix-directory/216641/1 "2012-02-09T20:20:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![atheeq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3be4f8/32.png) [@atheeq](https://www.ruby-forum.com/u/atheeq)\
**Post date:** [July 15, 2013, 8:39pm UTC](https://www.ruby-forum.com/t/httpd-unix-directory/216641/2 "2013-07-15T20:39:04Z")

</div>

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
