I have a situation like I need to create a controller inside a folder, so the structure will be,
module_name/mobile/productcontroller.php
and I have added following code in that file,
class Mypackage_Mymodule_Mobile_ProductController extends Mage_Core_Controller_Front_Action {
public function indexAction() {
echo 'got it';
exit;
}
And Im trying to access using below url
http://localhost:8888/magento/index.php/Mymodule/mobile/productcontroller?&start=1
IM getting 404 error. So is there any wrong in my class ? Please help me.