I am using Magento CE 1.9.2.1. I wrote a custom module for just outputting "Test page Feedback". But, I am unable to access the page (facing 404 error) http://localhost/magento/index.php/feedback/index
or http://localhost/magento/feedback/index
. Even, I am unable to find any error in the logs.
Below is my code for the respective files:
/app/etc/modules/MYStore_Feedback.xml
<?xml version="1.0"?>
<config>
<modules>
<MYStore_Feedback>
<active>true</active>
<codePool>local</codePool>
<version>0.1.0</version>
</MYStore_Feedback>
</modules>
</config>
app/code/local/MYStore/Feedback/etc/config.xml
<?xml version="1.0"?>
<config>
<modules>
<MYStore_Feedback>
<version>0.1.0</version>
</MYStore_Feedback>
</modules>
<frontend>
<routers>
<feedback>
<use>standard</use>
<args>
<module>MYStore_Feedback</module>
<frontName>feedback</frontName>
</args>
</feedback>
</routers>
</frontend>
</config>
app/code/local/MYStore/Feedback/controllers/IndexController.php
<?php
class MYStore_Feedback_IndexController extends Mage_Core_Controller_Front_Action {
public function indexAction() {
echo "Test page Feedback";
}
}