all repos — h3rald @ b26e779a67ddb0e4187d0c75a391b8d5b046f044

The sources of https://h3rald.com

content/articles/apache2-upgrade.textile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
----- 
permalink: apache2-upgrade
filters_pre: 
- erb
- redcloth
title: Beware of sudden upgrades!
comments: 
- :date: 2007-12-29 15:30:21 +01:00
  :author: Teju
  :url: ""
  :id: 179
  :body: "Your post saved my site....thanks! Bluehost generally rocks, but they've disappointed this time.\n\n\
    You're luckier than I am - my live chat guy (Dave) told me that the addhandler  problem was my 'website design issue' and he couldn't help me. "
- :date: 2008-01-02 12:28:34 +01:00
  :author: t12345
  :url: ""
  :id: 192
  :body: |-
    My Live chat session was not that helpful. I have checked everything the support guy asked me to but instead of providing any suggestion he dumped a long message explaining how pointless was talking to me and closed the session.
    I moved to VPS, no more Bluehost for me.
- :date: 2008-01-02 13:38:36 +01:00
  :author: Fabio Cevasco
  :url: http://www.h3rald.com/
  :id: 193
  :body: |-
    Wow, looks like I was lucky! The guy I spoke to was smart enough to figure out the problem in less than 3 minutes, I must say. 
    
    @t12345: Out of curiosity, which VPS host are you going for?
- :date: 2008-01-02 13:55:41 +01:00
  :author: t12345
  :url: ""
  :id: 194
  :body: "slicehost.com\n\
    VPS is much better but it takes long time to install everything by yourself. Bluehost completely ignored my cries for help so I had no other choice. "
- :date: 2008-01-10 11:53:52 +01:00
  :author: J Cooper
  :url: ""
  :id: 197
  :body: Thank you! This saved me too! Stupid bluehost :(
- :date: 2008-02-27 08:16:07 +01:00
  :author: dfavre
  :url: ""
  :id: 210
  :body: |-
    Thanks!  This solved a long-standing problem that I've had with my site.
    
    My only problem with BH is the way they handle upgrades on their shared hosts.  I've had my RoR app go offline several times due to upgrading the Rails version on my server without notice.
date: 2007-12-20 07:41:00 +01:00
tags: 
- website
- rails
type: article
toc: true
-----
Yesterday I got a rather annoying early Christmas present: when visiting my site, I noticed that the raw source code of my dispatch.fcgi file (yes, I'm on shared hosting with FastCGI, for now) was displayed "as it is" instead of being interpreted.

After the initial moment of anger and stress (I immediately realized it was BlueHost's fault, not mine), I opened two tickets and went to bed, hoping to see everything solved in the morning.

Unluckily it wasn't the case, so I posted on BlueHost forum trying to be as polite as possible complaining because the issue wasn't being dealt with. It turns out that for such issues you're supposed to use the "Live Chat" feature instead of the tickets, so that's what I did.

After a quick chat with "Christian", it turns out that BlueHost decided to perform a server upgrade "silently" upgrading to Apache2, PHP5, MySQL4.1, etc. etc.
Cool, pity that nobody told me that! 

I was expecting some sort of PHP upgrade (not that I care like that), which was supposed to happen according to the last BlueHost newsletter:

<blockquote>
<em>"To alleviate any issues in the future with certain scripts that only run on one
version of PHP we have developed the ability to run PHP4 and PHP5 on the same server
simultaneously. This will be rolled out to all users in the next couple of weeks. Some
servers already have this ability while most will see it in the next two weeks."</em>
</blockquote> 

But... hang on? Does it say anything about migrating to Apache2? I don't think so! What's worse, is that quite a few things changed with Apache2, in particular the way FastCGI handlers are declared:

<% highlight :text do %>
# Apache 1.3:
AddHandler fastcgi-script .fcgi

# Apache 2:
AddHandler fcgid-script .fcgi
<% end %>

See? Different. This is due to the fact that "@mod_fcgid@ is used instead of @mod_fastcgi@ on Apache 2":http://wiki.rubyonrails.org/rails/pages/Debian+mod_fastcgi+Notes. 

The fix was easy, of course, and now my site is up and running again (and actually running faster)... but, I wonder, why the hell wasn't I informed? Is it acceptable? It sounds like I might end up on a VPS sooner than expected, unless BlueHost doesn't roll out some new exciting feature soon, as I think it might...