Or provide methods for running on different servers, like bottle does: https://github.com/defnull/bottle/blob/master/bottle.py#L1670
On Fri, May 13, 2011 at 7:03 PM, Dragan Espenschied <[email protected]> wrote: > I cannot help with this case, but I suggest, because there are many such > questions on this list, that a nice development goal for webpy would be a less > worrysome process of going live with an app. > > Coding in webpy is super-easy, but the configuration of a finished app can be > really difficult. couldn't the framework for example figure out by itself if > it > runs on apache or lighttpd, with cgi or mod_wsgi or whatever other options > exist, and automatically configure? > > drx > > Am 12.05.2011 16:07, schrieb Andre Smit: >> I notice the following in my Apache logs. The app appears to work OK so not >> sure >> what it's complaining about :) Any ideas? >> >> I'm using mod_wsgi. >> >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] Traceback (most >> recent >> call last): >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] File >> "c:\\python26\\lib\\site-packages\\web.py-0.34-py2.6.egg\\web\\application.py", >> line 242, in process >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] return >> self.handle() >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] File >> "c:\\python26\\lib\\site-packages\\web.py-0.34-py2.6.egg\\web\\application.py", >> line 233, in handle >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] return >> self._delegate(fn, self.fvars, args) >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] File >> "c:\\python26\\lib\\site-packages\\web.py-0.34-py2.6.egg\\web\\application.py", >> line 411, in _delegate >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] mod = >> __import__(mod, globals(), locals(), [""]) >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] ImportError: Import >> by >> filename is not supported. >> [Thu May 12 08:58:38 2011] [error] [client 146.6.92.109] >> >> -- >> 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. > > -- > http://noobz.cc/ > http://digitalfolklore.org/ > > -- > 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. > > -- 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.
