title: Magento: Overriding customer account controller
body: <p>Hi I'm trying to override Mage_Customer_AccountController, so that I can extend the createPostAction method. For the life of me I can't seem to do this, it either throws a 404 page, which suggests that its not the right path for the file or it defaults to orignal.</p>
  
  <pre><code>&lt;rewrite&gt;
         &lt;company_modulename_account&gt;
             &lt;from&gt;&lt;![CDATA[#^/customer/account/#]]&gt;&lt;/from&gt;
             &lt;to&gt;/modulename/account&lt;/to&gt;
         &lt;/company_modulename_account&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>My controller is located here local/company/modulename/controllers/AccountController.php</p>