mod_python install trouble

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

    mod_python install trouble

    Hi,

    I'm having a problem trying to get mod_python running on Win2000.

    I'm getting the following error when I start Apache:

    C:\Program Files\Apache Group\Apache2\b in>Apache.exe
    Syntax error on line 163 of C:/Program Files/Apache
    Group/Apache2/conf/httpd.conf:
    Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_python.so
    into server:
    The specified module could not be found.

    I added the following lines to the Apaches http.conf file:

    LoadModule python_module modules/mod_python.so

    <Directory C:/Program Files/Apache Group/Apache2/htdocs/mod_python_test >
    AddHandler mod_python .py
    PythonHandler mptest
    PythonDebug On
    </Directory>


    And I have installed on Win2000:
    Apache 2.0.47
    Python 2.3.2
    mod_python 3.1.0a

    Any help appreciated.

    Thanks,
    Ted


  • Jon Franz_antispam

    #2
    Re: mod_python install trouble

    Did you compile the .so with the same compiler used to compile apache?

    You may be better served by posting this issue to the mod_python mailing
    list:


    ----- Original Message -----
    From: "ted" <tedNOSPAM94107 @yahoo.com>
    To: <python-list@python.org >
    Sent: Wednesday, October 15, 2003 4:14 AM
    Subject: mod_python install trouble

    [color=blue]
    > Hi,
    >
    > I'm having a problem trying to get mod_python running on Win2000.
    >
    > I'm getting the following error when I start Apache:
    >
    > C:\Program Files\Apache Group\Apache2\b in>Apache.exe
    > Syntax error on line 163 of C:/Program Files/Apache
    > Group/Apache2/conf/httpd.conf:
    > Cannot load C:/Program Files/Apache[/color]
    Group/Apache2/modules/mod_python.so[color=blue]
    > into server:
    > The specified module could not be found.
    >
    > I added the following lines to the Apaches http.conf file:
    >
    > LoadModule python_module modules/mod_python.so
    >
    > <Directory C:/Program Files/Apache[/color]
    Group/Apache2/htdocs/mod_python_test >[color=blue]
    > AddHandler mod_python .py
    > PythonHandler mptest
    > PythonDebug On
    > </Directory>
    >
    >
    > And I have installed on Win2000:
    > Apache 2.0.47
    > Python 2.3.2
    > mod_python 3.1.0a
    >
    > Any help appreciated.
    >
    > Thanks,
    > Ted
    >
    >
    >
    >[/color]


    Comment

    Working...