Thanks Jurian, however I'm using Zend Framework 1.11.11... Your link seems to be for a ZF2 application, and 'type' => 'Zend\Mvc\Router\Http\Literal' doesn't exist?
Kind regards, Steve On 10 May 2012 14:59, Jurian Sluiman-3 [via Zend Framework Community] < [email protected]> wrote: > Hi Steve, > > 2012/5/10 sjwdavies <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4623591&i=0>> > > > > Hi List, > > > > I'm writing an Application at the minute using Zend Framework and it > uses > > database driven routes. > > > > I've disabled default routing, however this seems to be causing an error > > when accessing the homepage. > > > > Can anyone tell me how to 'recreate' the default route, that would take > a > > user who visited the homepage '/' to the index action of the index > > controller? > > > > Thanks in advance, > > Steve > > > > You can place the default route back which you can copy from the > ZendSkeletonApplication. It's on github here: > > > https://github.com/zendframework/ZendSkeletonApplication/blob/master/module/Application/config/module.config.php#L40 > > > -- > Jurian Sluiman > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://zend-framework-community.634137.n4.nabble.com/Create-Route-For-Homepage-tp4623109p4623591.html > To unsubscribe from Create Route For Homepage, click > here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4623109&code=c2p3ZGF2aWVzQGdtYWlsLmNvbXw0NjIzMTA5fDcxMTQzMTU2NQ==> > . > NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Create-Route-For-Homepage-tp4623109p4623620.html Sent from the Zend Framework mailing list archive at Nabble.com.
