Modifying an existing, functioning module, so assume the prerequisite setup code is fine. Adding to /app/code/local/Company/MyModule/etc/config.xml within <frontend/>:
<routers>
<mymodule>
<use>standard</use>
<args>
<module>Company_MyModule</module>
<frontName>mymodule</frontName>
</args>
</mymodule>
</routers>
Created /app/code/local/Company/MyModule/controllers/IndexControlller.php:
<?php
class Company_MyModule_IndexController extends Mage_Core_Controller_Front_Action {
public function IndexAction() {
die('hello, world');
}
}
Going to the expected address (www.company.com/mymodule) returns a 404 response.
<frontend/>and the rest of the module works as expected. I just can't get the controller to work. In fact, I've never been able to get any controllers to work that I've made.