Also ensure your Python and Apache are both 32 bit as precompiles mod_wsgi for windows is only 32 bit.
Graham On Saturday, 29 January 2011, Graham Dumpleton <[email protected]> wrote: > This is nearly always caused by Python not being installed for all > users. Apache runs as special user and so if Python only installed for > you the Apache user doesn't have Python directory in path and so can't > find Python DLL. The error is unfortunately deceiving. > > So reinstall Python for all users. If using command line installer you > need to change some option in some installer file. > > Graham > > On Saturday, 29 January 2011, Panupat <[email protected]> wrote: >> I'm running Apache 2.2 on Windows 7 32bit. Downloaded mod_wsgi-win32- >> ap22py27-3.3.so - Apache 2.2 / Python 2.7, rename and put the .so into >> the modules directory where all other .so files are. >> >> added this line to the httpd.conf >> >> LoadModule wsgi_module modules/mod_wsgi.so >> >> restart Apache and I'm getting a syntax error >> >> httpd.exe: Syntax error on line 206 of D:/Apache2.2/conf/httpd.conf: >> Can not load D:/Apache2.2/modules/mod_wsgi.so into server: >> The specified module could not be found. >> >> I'm pretty sure the file is in the right directory and LoadModule is >> correctly typed. All other modules are loading just fine. >> >> Would greatly appreciate any help. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/modwsgi?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
