sorry, I tried to make it api compatible with cherrypy and broke the hello world example. You can find the latest here:
http://web2py.com/examples/static/web2pyserver.py Massimo On Sep 18, 11:20 am, Alex Fanjul <[email protected]> wrote: > Massimo I tried to run standalone and I recived this: > > E:\web2py\gluon>python web2pyserver.py 8001 > Traceback (most recent call last): > File "web2pyserver.py", line 260, in <module> > > s=web2pyWSGIServer('127.0.0.1:'+sys.argv[1],test_wsgi_app,min_threads=5,max_ > threads=10) > TypeError: __init__() got an unexpected keyword argument 'min_threads' > > Integrated with web2py it works (not with all apps) but doesnt me allow > to enter in admin section (typical: Admin is disabled because insecure > channel) even if I was in localhost. > > Any clues with this 2 issues? > Alex F > > El 18/09/2009 5:50, Massimo Di Pierro escribió: > > > > > Please ignore my previous email. I fixed it and it seems to works > > great (attached) > > > It is very much modeled on wsgiserver. > > It fits in 262 lines of code, uses regex and it is a little bit faster > > than wsgiserver but, > > it does not perform all checks that wsgiserver performs (do we need > > them?). > > I am still trying to figure out if I am missing something important. > > > Massimo > > -- > Alejandro Fanjul Fdez. > [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

