BlogMatrix
 

Running mod_python on Windows XP

edit David P. Janes 2007-08-10 18:13 UTC add comment  ·  ·  ·

I'm currently linuxless, but since I have access to a Windows XP laptop I thought I'd try a few little experiments. I'm probably not going to pursue this to far, as at this stage in the game it doesn't make a lot of sense to bring another, radically different, platform into the mix.

Running mod_python on Windows (XP) is actually quite simple:

On Windows I find it fairly useful to install everything the default way. Configuring this is simplicity:

  • edit httpd.conf (there's probably a start menu option for this)
  • add "LoadModule python_module modules/mod_python.so" in the LoadModules section
  • restart Apache
  • test (the Directory version works out of the box with the appropriate path adjustment)

BlogMatrix uses a lot of shell scripts; mixing this together with Windows Python (not Cygwin Python) is going to be a challenge, as the way paths are handled is different.

Add Comment