Mod_python on Windows Troubles

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dan Gottlieb

    Mod_python on Windows Troubles

    Hi,

    I realize that this is somewhat vague, but I'm not really sure what to
    do next. I'm trying to get Apache and mod_python set up on my windows
    XP box for testing purposes. I installed the Apache 2.0.48 windows
    binaries using the Apache installer, tested it and it worked fine. I
    then installed the mod_python 3.0.4 windows binaries using the installer
    which correctly found my ActiveState Python 2.2 installation and the
    aforementioned Apache installation. I tested Apache again, and it
    loaded fine. However, when I add the line "LoadModule python_module
    modules/mod_python.so" to httpd.conf, the Apache service refuses to
    start with the following error: "Cannot load C:/Program Files/Apache
    Group/Apache2/modules/mod_python.so into server: The specified module
    could not be found." Any help would be greatly appreciated.

    Regards,
    Dan



  • Josiah Carlson

    #2
    Re: Mod_python on Windows Troubles

    [color=blue]
    > modules/mod_python.so" to httpd.conf, the Apache service refuses to
    > start with the following error: "Cannot load C:/Program Files/Apache
    > Group/Apache2/modules/mod_python.so into server: The specified module[/color]

    While I'm not using Apache or mod_python, I would be willing to bet that
    your error is the result of using 'mod_python.so' in Windows. Try
    'mod_python.dll ' instead.

    - Josiah

    Comment

    • Georgy

      #3
      Re: Mod_python on Windows Troubles

      No problem with *.so. My config: Windows XP, Apache 2.0.47 (Win32) mod_python/3.1.2b Python/2.3.2
      mod_python.so 3.1.1b (hmm... it reports 3.1.2b but the file's version says 3.1.1b) is 114,688 bytes
      The error message means probably that your mod_python.so and your
      %SystemRoot%\sy stem32\python22 .dll or python23.dll files are not compatible.

      Georgy


      "Josiah Carlson" <jcarlson@nospa m.uci.edu> wrote in message news:bv1par$ctl $2@news.service .uci.edu...
      |
      | > modules/mod_python.so" to httpd.conf, the Apache service refuses to
      | > start with the following error: "Cannot load C:/Program Files/Apache
      | > Group/Apache2/modules/mod_python.so into server: The specified module
      |
      | While I'm not using Apache or mod_python, I would be willing to bet that
      | your error is the result of using 'mod_python.so' in Windows. Try
      | 'mod_python.dll ' instead.
      |
      | - Josiah


      Comment

      Working...