Upgrade to Dreamhost complete
Written at 19:26, on Sunday 2 October 2005. Tags: personal .
The upgrade to Dreamhost is now complete. Besides a far greater disk capacity (4200 MB!) and bandwidth limit (120 GB per month!), this migration has also solved some annoyances which I had with Lycos.
- URL’s in the journal now have the title in their URL, instead of the messy “index.php?id=26”. This is solved now because Dreamhost supports mod_rewrite and Lycos didn’t.
- The 404 page is improved since it now includes the actual referrer URL. Somehow, Lycos rewrote this to point to the 404 page itself, instead of the page which was requested. Now I can hopefully find out why the 404 page is the second-most requested page…
And finally, I have shell access to my account! This is really cool, especially since they have some usefull programs installed like screen and svn. The first allows me to keep the session alive on the server (e.g. for work in progress), logging in and out as required. The second allows me to upgrade Textpattern from Subversion instead of manually uploading the newest code by FTP. I can locally hack my installation and type “svn up“ to upgrade to the latest version, while preserving my local modifications. Very cool!
Of course, there were also some things that went wrong.
First of all, the external page didn’t work anymore. The del.icio.us links were pulled in with the following code:
<?php include ("http://app.feeddigest.com/ digest3/OZHNJCOKOE.html"); ?>
Which gave the following warning:
Warning: main(): URL file-access is disabled in the server configuration
Some Googling led me to to the proper alternative code on the Dreamhost Wiki:
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://app.feeddigest.com/ digest3/OZHNJCOKOE.html"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); ?>
Which works just fine. Also, the Bloglines feed wasn’t pulled in properly. I’m still investigating this issue, and will update this post as soon as I’ve fixed it.
Comments closed | Permalink