Re: [web2py] Re: how to use cgi in web2py
If you run one of: - nginx - lighttpd - cherockee - apache httpd + mod_scgi I suggest to use SCGI is light, fast and requires very little config. Look at the file scgihandler.py in web2py root. mic 2011/9/9 pbreit pbreitenb...@gmail.com: Freak, what hosting options do you have? Do you already have a hosting provider? Which one? What service level do you have? Do you know what your provider's Python hosting capabilities are?
[web2py] Re: how to use cgi in web2py
hey guys , anyone can tell me how to use cgi in web2py ?? If in doubt, always check the online book first... http://www.web2py.com/book/default/chapter/11?search=cgi Best regards, Stefaan.
Re: [web2py] Re: how to use cgi in web2py
believe me... web2py in a sharehost using CGI it is very SLOW ! (tested in iPage)... On Thu, Sep 8, 2011 at 12:30 PM, Web2Py Freak halna...@gardeniatelco.comwrote: there is nothing about using CGI just : web2py provides a file cgihandler.py to interface to CGI. -- Sebastian E. Ovide
[web2py] Re: how to use cgi in web2py
web2py provides a file cgihandler.py to interface to CGI. If still in doubt, use google: http://web2py.com/AlterEgo/default/show/93 (As far as I understand, a cgi program expects input via stdin, and sends output to stdout, but I'm by no means an expert) Best regards, Stefaan.
Re: [web2py] Re: how to use cgi in web2py
Freak, which one? a) you want to run CGI inside web2py? b) you want to run web2py as CGI? mic 2011/9/8 stefaan stefaan.hi...@gmail.com: web2py provides a file cgihandler.py to interface to CGI. If still in doubt, use google: http://web2py.com/AlterEgo/default/show/93 (As far as I understand, a cgi program expects input via stdin, and sends output to stdout, but I'm by no means an expert) Best regards, Stefaan.
[web2py] Re: how to use cgi in web2py
Running web2py under CGI will result in more headaches then running is in proxy mode. On Sep 8, 9:07 am, Michele Comitini michele.comit...@gmail.com wrote: Freak, which one? a) you want to run CGI inside web2py? b) you want to run web2py as CGI? mic 2011/9/8 stefaan stefaan.hi...@gmail.com: web2py provides a file cgihandler.py to interface to CGI. If still in doubt, use google: http://web2py.com/AlterEgo/default/show/93 (As far as I understand, a cgi program expects input via stdin, and sends output to stdout, but I'm by no means an expert) Best regards, Stefaan.
[web2py] Re: how to use cgi in web2py
Freak, what hosting options do you have? Do you already have a hosting provider? Which one? What service level do you have? Do you know what your provider's Python hosting capabilities are?