If I'm doing this: routes_in=( ('/admin(?P<stuff>.*)', '/admin\g<stuff>'), ('/cj/(?P<stuff>.+)', '/cj/\g<stuff>'), ('/$controller', '/cj/$controller/index'), ('^.*:/$', '/cj/main/index'), ('/(?P<stuff>.+)', '/cj/\g<stuff>'), ) routes_out=( ('/admin(?P<stuff>.*)', '/admin\g<stuff>'), ('^/cj/main/index$','/'), ('/cj/(?P<stuff>.+)', '/\g<stuff>'), )
So if I goto mydomain.com/test it will look for a controller called test, is there a way to make it so that if it doesn't find the controller make cj/main/index still load as the route but have test be in request.args[0] instead of getting invalid controller? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---