Upgrading from
Ben Gribaudo <[email protected]> Fri, 15 Sep 2006 08:27:33 -0500
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi Folks, After upgrading a development server from Ubuntu 5.10 to 6.06 (using apt-get distro-upgrade), Apache started returning our rhtml pages with a content type of application/x-httpd-eruby (instead of text/html as it did before the upgrade). mod_ruby returns application/x-httpd-eruby. This causes web browsers to show a "Do you want to download this file and open it or save it?" dialog box instead of displaying the page. The content returned in the file has been parsed by eruby--all Ruby code has been processed and appropriate HTML has been outputted. Any ideas on how to get the correct content-type returned? We need to get this development server back up so that our folks can keep developing! Below is a list of relevant Ubuntu packages whose versions changed during the upgrade. Thank you, Ben apache2 (not listing supporting packages) 2.0.54-5ubuntu4 -> 2.0.55-4ubuntu2.1 libapache-ruby1.8 1.2.4-1 -> 1.2.5-1build1 libapache2-mod-ruby 1.2.4-1 -> 1.2.5-1build1 libruby1.8 1.8.2-9ubuntu1.1 -> 1.8.4-1ubuntu1.1 ruby1.8 1.8.2-9ubuntu1.1 -> 1.8.4-1ubuntu1.1