I used template to render the html, but it cant be displayed
correctly.

http://181920.net/

in ie, it runs well
in firefox, the page is just html code...

who know why? My site is at DreamHost

The follow is my file:

--------------------------------------
#!/usr/bin/env python2.3
import web
urls = ('/', 'index', '/hello.htm','hello')

render=web.template.render('html/')

class index:
   def GET(self):
       print render.index()
class hello:
   def GET(self):
      print "hello world!";


def runfcgi_apache(func):
    web.wsgi.runfcgi(func, None)
if __name__ == "__main__":
   web.wsgi.runwsgi = runfcgi_apache
   web.run(urls, globals())
---------------------------------------


--~--~---------~--~----~------------~-------~--~----~
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