Hi,
I added a second controller to my app to seperate admin functions to a 
diffrent controller. but my problem is that I can't even get the index.html 
to work with the second controller I always get a file not found.
I suspect it has something todo with my routes.py: because I don't have to 
call sites with the controller: www.mydomain/MyApp/Controller/Funktion I 
can simply do www.mydomain/funktion
#!/usr/bin/python
# -*- coding: utf-8 -*-


routers = dict(
  BASE  = dict(
      domains = {
          'mydomain.com' : 'Myapp',
          'www.mydomain.com' : 'Myapp',
      }
  ),
  Myapp = dict(
  root_static=['Favicon.ico', 'robots.txt','humans.txt']
  )
)


routes_onerror = [
    ('Myapp/*', '/Myapp/default/error_site')

the first controller is called default and the second manage.py
Sry I can't give any more information because I got no clue why this should 
not work.
I tried opening the page from the controler from the view and I always get 
a 404 Error


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to