This is my routing as it currently stands: 'router' => array( 'routes' => array( // The following is a route to simplify getting started creating // new controllers and actions without needing to create a new // module. Simply drop new controllers in, and you can access them // using the path /application/:controller/:action 'webservice' => array( 'type' => 'Literal', 'options' => array( 'route' => '/webservice', 'defaults' => array( '__NAMESPACE__' => 'Webservice\Controller', 'controller' => 'Index', 'action' => 'index', ), ), 'may_terminate' => true, 'child_routes' => array( 'default' => array( 'type' => 'Segment', 'options' => array( 'route' => '/[:controller[/:action]]', 'constraints' => array( 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*', 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array(), ), ), ), ), ), )
The current structure of the module is like so: Webservice -config -src --Webservice ---Controller ----IndexController.php -View --Layout --Webservice ---index ----index.phtml The controller is as follows: namespace Webservice\Controller; use My\Controller\BaseController; class IndexController extends BaseController { public function indexAction() { } public function serverAction() { } } I dont want to be having to add index ie.. http://sitename/webservice/index/server... Would rather it be http://sitename/webservice/server Thanks -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Routing-issue-tp4659140p4659144.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com