Hi Graves, Since it works with the web.py test server I'm thinking maybe the issue is not with your code, but rather with your web server setup?
On Wednesday, September 25, 2013 4:07:20 AM UTC-4, Graves Liu wrote: > > hi,all. > i am come from PRC. recently like web.py . > but ,can anybody show me how to get url parameters under mod_wsgi > ? > > code : > <pre><code>import web urls = ( '/', 'index' ) class index: def > GET(self): return web.input() application = web.application(urls, > globals()).wsgifunc() if __name__ == "__main__": app = > web.application(urls, globals()) app.run()</code></pre> > > > > from browser: localhost/?name=blabla&id=7 > i got nothing. > > how can i get "name=blabla &id =7" parameter ? > > but if use web.py 's server ,it 's work ok. > > thanks anyway! > > > > -- 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.
