Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73642 > unrolled thread
| Started by | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| First post | 2014-06-26 17:43 -0600 |
| Last post | 2014-06-26 17:43 -0600 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Execute a python script with CGI ? Ian Kelly <ian.g.kelly@gmail.com> - 2014-06-26 17:43 -0600
| From | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| Date | 2014-06-26 17:43 -0600 |
| Subject | Re: Execute a python script with CGI ? |
| Message-ID | <mailman.11271.1403826272.18130.python-list@python.org> |
On Thu, Jun 26, 2014 at 9:24 AM, dandrigo <laurent.celati@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
Back to top | Article view | comp.lang.python
csiph-web