On Fri, Aug 14, 2009 at 12:10 PM, neilc<[email protected]> wrote: > > I'm using the standard routing module with pylons to try and setup a > default route for the home page of my website. > > I've followed the instructions in the docs and here > http://routes.groovie.org/recipes.html > but when I try http://127.0.0.1:5000/ I just get the 'Welcome to > Pylons' default page.
You have to delete the static page (myapp/public/index.html). Static files take priority due to the Cascade configuration at the end of middleware.py. > I've also tried map.connect( '/', controller='main', action='index' ) This is correct. > map.connect( '', controller='main', action='index' ) This may still work but is being phased out. -- Mike Orr <[email protected]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
