CGI/modpython ???

Michael Hall olc at ninti.com
Sat Mar 30 19:56:23 EST 2002


Sorry folks, I just found the modpython docs, so I can RTFM. Still, I'd be
interested in any comments about modpython versus Python CGI.

Mick


On Sun, 31 Mar 2002, Michael Hall wrote:

> 
> I'm writing Python CGI scripts using the MySQLdb module and getting a
> grasp on things fairly quickly ... Python is a cool language (I'm coming
> to it from PHP). Thanks to Drew and Emile for sorting out my looping
> function, it works fine now.
> 
> Now I'm wondering how modpython is used. If Apache has the modpython
> module installed, how do I use it? What form do scripts take? 
> 
> Do they still look like CGI scripts, or do they look more like a PHP
> script (some sort of embedded scripting)?
> 
> Does a script still use '#!/usr/bin/python', or are file endings (eg
> .py) used to call the Python interpreter?
> 
> Is the script located in public_html or cgi-bin?
> 
> What would I have to do with a CGI script written in Python to use it with
> modpython?
> 
> Thanks
> 
> -----------------------------
> Michael Hall   mick at ninti.com
> -----------------------------
> 
> 
> 

-- 
-----------------------------
  n  i  n  t  i  .  c  o  m
  data  driven  development 
-----------------------------
Michael Hall   mick at ninti.com
-----------------------------





More information about the Python-list mailing list