update to use hostname syntax as bucket syntax was breaking for me

Hi,

There was a breakage using the old version as AWS have changed the way the bucket hostnames are addressed - the following patch fixes this for me on ubuntu 12.04 with apache 2.2

Cheers
J