<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.schoonzie.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>mod_security</title>
 <link>http://www.schoonzie.com/tags/modsecurity</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Drupal&#039;s update.php script redirecting to homepage and not updating</title>
 <link>http://www.schoonzie.com/drupals-updatephp-script-redirecting-homepage-and-not-updating</link>
 <description>&lt;p&gt;
While upgrading a couple of different Drupal (5.x) sites, I ran into an annoying issue where the update.php script just redirected to the sites homepage after the &amp;quot;Select Version&amp;quot; page. The server in question has PHP&amp;#39;s mod_security enabled which has caused some problems with other sites in the past, so I think it&amp;#39;s related to that, but I&amp;#39;m not totally sure. 
&lt;/p&gt;
&lt;p&gt;
Any way, the fix is to add the following line of code to your update.php script before line 794 &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.schoonzie.com/drupals-updatephp-script-redirecting-homepage-and-not-updating&quot;&gt;&lt;br /&gt;Continue Reading &amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description>
 <comments>http://www.schoonzie.com/drupals-updatephp-script-redirecting-homepage-and-not-updating#comments</comments>
 <category domain="http://www.schoonzie.com/tags/drupal">Drupal</category>
 <category domain="http://www.schoonzie.com/tags/modsecurity">mod_security</category>
 <pubDate>Sat, 03 May 2008 01:06:54 -0500</pubDate>
 <dc:creator>Schoonzie</dc:creator>
 <guid isPermaLink="false">20 at http://www.schoonzie.com</guid>
</item>
</channel>
</rss>
