Jump to content
The Uniform Server Community

mikeh

Member
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by mikeh


  1. Ok, I haven't tested with the win32com module yet, but simply getting mod_python running was easy:

     

    1. Download the win32 build of mod_python from here:

    http://httpd.apache.org/modules/python-download.cgi

     

    2. When the installer asks you where your apache installation is, point it to

    UNISERVER_FOLDER/udrive/usr/local/apache2

     

    (Where UNISERVER_FOLDER is the folder on disk where you've put your Uniform Server). This simply tells the installer where to find the /modules directory off of your apache2 directory, which is where mod_python.so belongs

     

    3. Add the following line to apache.conf:

    LoadModule python_module modules/mod_python.so

     

    4. Set the handling method of your choice as described here:

    http://webpython.codepoint.net/mod_python_...e_configuration


  2. Nevermind -- I realized I can just use python/CGI!

     

    It's probably slower than a mod_python solution, but in a one-user scenario, I hope it's fine.

     

    I do want to distribute the results so I'll need to come up with a bundling solution. If that is something that anyone is interested in hearing about, reply and let me know.

     

    Just for reference, here's about all I currently know about running python as a CGI handler on windows:

     

    http://www.thesitewizard.com/archive/addcgitoapache.shtml

     

    (replace perl references with python)

     

    http://docs.python.org/library/cgi.html


  3. Hi guys, I just discovered the project and I've been searching the forums and wiki. I see one or two abandoned attempts to produce a python plugin, and a little discussion indicating a desire to keep the package focused on PHP.

     

    Is python something you maintainers would even want in the project if I made it?

     

    How involved would it be for me to do, and where would I start gathering info on how to do it?

     

    Why I ask: I'm starting a project for which I'd much rather use python (including pywin32-level capabilities) than PHP.

     

    My technical level: experienced apache admin and professional coder

     

    Thanks!

     

    Mike

×
×
  • Create New...