Installing mod_python on mac os 10.4.7
bbxx789_05ss at yahoo.com
Sun Jul 29 18:37:38 CEST 2007
On Jul 29, 4:07 am, Graham Dumpleton <Graham.Dumple... at gmail.com>
> 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.
> for more help on debugging.
That article says the LoadModule directive should be:
>LoadModule python_module libexec/mod_python.so
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
# 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:
So in the Load Module directive, the actual path to the mod_python.so
But I checked and I don't have a /Library/Apache2/libexec directory.
More information about the Python-list