I don't see a URL mapping for '/blog' in your URLs tuple. How are you accessing this from apache ? Using a mod_wsgi or some library like that ?
On Wed, Jul 17, 2013 at 1:50 AM, Kristinn kristmundsson < [email protected]> wrote: > I have a website: http://talmir.darktech.org/kblog/index.py/ where I am > developing a simple blogging system for my own use. > > The http://webpy.org/cookbook/cgi-apache guide says "Additional URLs > handled by the application are added to the end of the URL,", but this is > not working correctly for me. For example when I click on the "Blog" link > it should have a link similar to the website url ( > http://talmir.darktech.org/kblog/index.py/) but instead it points to " > http://talmir.darktech.org/". Here is my url section of the code (which > works correctly if I run it locally with python index.py) > > urls = ( > '/', 'index', > '/singlepost/(\d+)', 'singlepost', > '/admin', 'admin', > '/new', 'new', > '/edit/(\d+)', 'edit', > '/edit', 'edit', > '/delete/(\d+)', 'confirmdelete', > '/dodelete/(\d+)', 'performdelete', > '/login', 'login', > '/logout', 'logout' > ) > > Do you guys have any idea what my problem is? I am having massive problems > figuring it out. > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/webpy. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
