[mod_python] Newbie or not Newbie, that is the question!

Graham Dumpleton graham.dumpleton at gmail.com
Mon Jul 23 17:58:54 EDT 2007


Where is your mod_python.so installed?

Change:

  LoadModule python_module libexec/mod_python.so

to be:

  LoadModule python_module /some//path/modules/mod_python.so

Ie., list an absolute path to where the mod_python.so is installed as
you obviously aren't using a relative path which is correct for where
your modules are being installed relative to your Apache installation
root.

Post back what path you ended up using and we can tell you what your
relative path probably was meant to be.

Graham

On 23/07/07, Jed Drury -X (jedrury - Manpower at Cisco)
<jedrury at cisco.com> wrote:
>
>
> I am having some issues configuring the Apache http.conf file on the most
> recent versions of Apache (2.2), Python (2.5) and Mod_Python (3.3). Whenever
> I add:
>
> LoadModule python_module libexec/mod_python.so
>
> beneath the other DSO's and then:
>
>  <Directory /some/directory/htdocs/test>
>         AddHandler mod_python .py
>         PythonHandler mptest
>         PythonDebug On
>     </Directory>
>
>  And then try to restart Apache I am unable to do so, getting the message of
> something like "Unable to perform requested application".  Upon checking
> command line, it says:
>
> LoadModule python_module libexec/mod_python.so not found
>
> I've been trying to figure this out for a long time but to no avail.  I
> don't want to go to PHP.  Please help!
>
> Jed
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>


More information about the Mod_python mailing list