<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.juliakm.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Dreamhost</title>
 <link>http://www.juliakm.com/story/dreamhost</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Gettting Rid of &quot;cgi-system&quot; When Upgrading Drupal on Dreamhost </title>
 <link>http://www.juliakm.com/gettting-rid-cgi-system-when-upgrading-drupal-dreamhost</link>
 <description>&lt;p&gt;I recently upgraded this site from Drupal 5.1 to 5.7 on Dreamhost and ran into an odd problem. After upgrading, all of my urls included the path cgi-system. So, instead of my login page being at juliakm.com/user, it was at juliakm.com/cgi-system/user. Because of the url issue, my site lost its theme. &lt;/p&gt;
&lt;p&gt;To solve the problem, I had to add a $base_url setting in my settings.php file in sites/default to &lt;a href=&quot;http://www.juliakm.com&quot; title=&quot;http://www.juliakm.com&quot;&gt;http://www.juliakm.com&lt;/a&gt;. However, because I had used Dreamhost&#039;s 1-click install, it was impossible to edit this file via FTP. Instead, I had to log into my site via SSH, and then chmod the permissions on settings.php to make the file editable. &lt;/p&gt;
&lt;p&gt;First, I navigated to the right folder:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;cd mysite.com/sites/default&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Next, I changed the settings.php permissions:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;chmod 755 settings.php&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Finally, with pico, I was able to uncomment the $base_url line and edit it:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$base_url = &amp;#039;http://www.juliakm.com&amp;#039;;&amp;nbsp; // NO trailing slash!&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;It looks like I am not the only one who has ran into this problem on Dreamhost. Here are other tales of Drupal + Dreamhost upgrade misery:&lt;br /&gt;
&lt;a href=&quot;http://drupal.org/node/60139&quot; title=&quot;http://drupal.org/node/60139&quot;&gt;http://drupal.org/node/60139&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://drupal.org/node/163085&quot; title=&quot;http://drupal.org/node/163085&quot;&gt;http://drupal.org/node/163085&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://drupal.org/node/163870&quot; title=&quot;http://drupal.org/node/163870&quot;&gt;http://drupal.org/node/163870&lt;/a&gt;&lt;/p&gt;
</description>
 <comments>http://www.juliakm.com/gettting-rid-cgi-system-when-upgrading-drupal-dreamhost#comments</comments>
 <category domain="http://www.juliakm.com/story/dreamhost">Dreamhost</category>
 <category domain="http://www.juliakm.com/topics/drupal">Drupal</category>
 <pubDate>Sun, 16 Mar 2008 07:18:45 -0700</pubDate>
 <dc:creator>Julia</dc:creator>
 <guid isPermaLink="false">41 at http://www.juliakm.com</guid>
</item>
</channel>
</rss>
