I have written a small module that has a page on the backend. On a test server it works fine (it works on windows). Once installed on the Battle Server (FreeBSD), while trying to go to the page of the module have a 404 error.
The first thing that came to mind, it's case letters (as developed for Windows).
The configuration of the router is: config.xml
<admin>
<routers>
<adminhtml>
<args>
<modules>
<ZM_Background before="Mage_Adminhtml">ZM_Background_Adminhtml</ZM_Background>
</modules>
</args>
</adminhtml>
</routers>
</admin>
adminhtml.xml
<config>
<menu>
<background translate="title" module="background">
<title>Media</title>
<sort_order>50</sort_order>
<children>
<items translate="title" module="background">
<title>Manage backgrounds</title>
<sort_order>0</sort_order>
<action>adminhtml/zm_background</action>
</items>
</children>
</background>
</menu>
</config>
In this configuration, I have a 404 but if I change the register on line
<action>adminhtml/ZM_Background</action>
In this case, the URL in the administration panel module has caps that are not very nice. Help to understand what files you need to check for the register that would fix it. Thanks.
so, too, is working
<action>adminhtml/ZM_background</action>
ZM_Background
tag in<modules>
to all lowercase.