On Thu, Jun 26, 2014 at 9:24 AM, dandrigo <laurent.cel...@gmail.com> wrote: > Dear all, > > I coded a python script (web service with query postgresql/postgis). Up to > now, i did several test on my local laptop station (windows). > > Now i want to execute this python script on our remote server (Web server : > Apache;OS : Linux). > > How to write a CGI template please? > > Could you throw light for me? > > Thank you very much. > > Regards.
While you can run Python as a CGI, the recommended pattern is to use WSGI. I suggest starting here: https://docs.python.org/2/howto/webservers.html -- https://mail.python.org/mailman/listinfo/python-list