Swearing Helps…

Anyway, here’s one for the Googlers out there.

If, while trying to install mod_python into Apache in Windows, you get an error like this:

Syntax error on line 173 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.

, here’s how to fix it:

Include the python directory into your PATH environment variable
(set PATH=%PATH%;C:\Python24 or something similar to that), and then try again.

The “fucking hell, so simple and it took me so long!” some people heard from my room was proof that the solution worked for me.

The error is incorrect, anyway, it’s supposed to say something more in the lines of “the module failed to load.”. If it still doesn’t work, make sure you’re using the module for the correct versions of Apache and Python.

0 Responses to “Swearing Helps…”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s





Follow

Get every new post delivered to your Inbox.

%d bloggers like this: