webpy问题,两个页面就报错!!!apache wsgi python2.6
说明:写两个请求就报错,单独一个没有问题!!!代码如下:code.py

import web urls = ( '/index', 'index' # '/hello', 'hello' ) class index: def GET(self): return "111hello world" #return render.base(view.listing()) #class hello: # def GET(self): # return "Hello, webpy!" application = web.application(urls, globals()).wsgifunc()apache配置如下:

WSGIScriptAlias /webpy "/var/www/webpy/code.py/" Alias /webpy/static "/var/www/webpy/static/" <Directory "/var/www/webpy"> Order allow,deny Allow from all </Directory>
求解~~~