Is a URL rewrite in web2py/routes.py as below acceptable?

# ==================================#
#!/usr/bin/python
# -*- coding: utf-8 -*-

routes_in = (('', '/myapplic/default/index'),)

routes_out = (('/myapplic/default/index', ''),)

# ===================================#

Or should I at least use '/' instead of ''?

Neither '' nor '/' is working from http://127.0.0.1:8000. Does it work
only after deployment (viewed by visitors, not through the admin
server)?

Thanks,

Eduardo

Reply via email to