I'm new to magento development,and I'm trying to add controller for my module but it's not working out with me (404 error messages appears). here is the details: /var/www/magento/app/code/local/Myproject/Helloworld/etc/config.xml
<?xml version='1.0'?>
<config>
<modules>
<Myproject_Helloworld>
<version>0.0.0.1</vresion>
</Myproject_Helloworld>
</modules>
<frontend>
<routers>
<helloworld>
<use>standard</use>
<args>
<module>Myproject_Helloworld</module>
<frontName>helloworld</frontName>
</args>
</helloworld>
</routers>
</frontend>
</config>
/var/www/magento/app/etc/modules/Myproject_Helloworld.xml
<?xml version='1.0'?>
<config>
<modules>
<Myproject_Helloworld>
<active>true</active>
<codePool>local</codePool>
</Myproject_Helloworld>
</modules>
</config>
/var/www/magento/app/code/local/Myproject/Helloworld/controllers/IndexController.php
<?php
class Myproject_Helloworld_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
echo 'Hello world!';
}
}
?>
I'm trying URL: localhost/magento/helloworld/index/index Any idea please .. thanx in advance.