Hello Joshua,

Joshua Abbott wrote:
> how do you setup ActivePython to work through Apache like perl does?

Firstly what do you mean by 'through', there are two possible ways  
Python can be used from with Apache :

(1.) As CGI
(2.) As Embedded Apache Module
(Actually same goes for Perl as well.)

If you want (1) then read this :   
http://www.python.org/doc/essays/ppt/sd99east/ and
If you are using Windows then also read this :

http://aspn.activestate.com/ASPN/Reference/Products/ActivePython/ 
python/lib/node284.html

and simply change the UNIX style path to Python to one for Windows, e.g  
#!C:\python22\bin\python.exe

If you want (2) then you need to use mod_python which you can find out  
more about at http://www.modpython.org

I am assuming you are using Windows as your development platform, in  
which case I would suggest using the pre-compiled binaries that are  
available in the download section on the site.

I personally prefer mod_python, though I will use Python CGI if what I  
want to do is dead simple.

Fasih Rehman

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to