Hello, I'm having an issue with the url tuple at the top of the
application:

urls = (
    '/index/(.*)', 'indexpage'
)

What is the (.*) for? Because my index page doesn't really need any
dynamic content, I wish I could just do:

    '/index/', 'indexpage'

But I get an error: http://img209.imageshack.us/my.php?image=errorqh7.png

What do I do?

Also, how do I add other URLs? I want to add an about page, so my
immediate instinct is to do this:

urls = (
    '/index/(.*)', 'indexpage',
    '/about/', 'aboutpage'
)

but that doesn't work. What do I do?

And one last question. Right now, I'm accessing my script by going to
http://localhost/test.wsgi/. How do I get rid of the filename so I can
do this:
http://localhost/index
and in the future...
http://example.org/index
http://example.org/about

Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to