Installing mod_python on mac os 10.4.7

7stud bbxx789_05ss at
Sun Jul 29 18:37:38 CEST 2007

On Jul 29, 4:07 am, Graham Dumpleton <Graham.Dumple... at>
> Have you got an appropriate LoadModule directive in Apache
> configuration to load the mod_python module? That you get this error
> is indicative of mod_python module not being loaded. You can check the
> Apache error logs to see if mod_python got loaded.
> See:
> for more help on debugging.

That article says the LoadModule directive should be:

>LoadModule python_module libexec/

I saw this note in /Library/Apache2/conf/http.conf

# Configuration and logfile names: If the filenames you specify for
# of the server's control files begin with "/" (or "drive:/" for
Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/Library/Apache2" will be interpreted by the
# server as "/Library/Apache2/logs/foo.log".

I have this server root in /Library/Apache2/conf/httpd.conf:

ServerRoot "/Library/Apache2"

So in the Load Module directive, the actual path to the
file is:


But I checked and I don't have a /Library/Apache2/libexec directory.

More information about the Python-list mailing list