Im getting the same issue but i have python 2.7 installed and i downloaded the "mod_wsgi-win32-ap22py27-3.3.so" binary.
I tried all the things above also but im getting the exact same error. Btw, im doing all this on windows 7 64bit, but i've installed apache 2.22 32 bit. On Thursday, October 29, 2009 9:56:48 PM UTC+4, weiwei wrote: > > Thanks > > It was version issue. i had python25 installed. I updated to python26. > things are fine now. > > > > On Wed, Oct 28, 2009 at 7:31 PM, Graham Dumpleton > <[email protected] <javascript:>> wrote: > > > > The next thing to double check then is that you installed Python for > > all users on system and not just yourself. > > > > Apache on Windows does appear to give error messages which point at > > the wrong problem as a cause. Thus, the issue may be that it finds and > > attempts to load the module, but cant find the DLL for the Python > > library because it wasn't installed machine wide and only for specific > > user. > > > > Also just verify that you are installing Apache 2.2 and Python 2.6 as > > that mod_wsgi binary requires. > > > > Graham > > > > 2009/10/29 [email protected] <javascript:> > > <[email protected]<javascript:>>: > > >> > >> thanks Graham, > >> > >> I have tried a few things: > >> > >> *)unintalled and reinstalled apache a few times. > >> *)changed the name of mod_wsgi.so and property/permission a few times. > >> > >> > >> still no luck... > >> > >> > >> > >> > >> > >> On Tue, Oct 27, 2009 at 6:57 PM, Graham Dumpleton > >> <[email protected] <javascript:>> wrote: > >>> > >>> 2009/10/28 [email protected] <javascript:> < > [email protected] <javascript:>>: > >>>> > >>>> I got thie message when i started apache service > >>>> > >>>> ____________________________________________________ > >>>> The Apache service named reported the following error: > >>>>>>> httpd.exe: Syntax error on line 128 of > C:/data/apache/conf/httpd.conf: Cannot load > C:/data/apache/modules/mod_wsgi.so into server: The specified module could > not be found. . > >>>> _____________________________________________________ > >>>> > >>>> Not sure what went wrong, I do have > >>>> "C:/data/apache/modules/mod_wsgi.so" I downloaded > >>>> mod_wsgi-win32-ap22py26-2.6.so and changed name to mod_wsgi.so and > put > >>>> to C:/data/apache/modules/ > >>> > >>> How did you copy the file into place? > >>> > >>> The Apache service runs as a special user and depending on how file > >>> was copied into place, it may not have the right permissions and > >>> ownership such that that user can see/read the file. > >>> > >>> I have seen this problem when copying file into place with cygwin > >>> command line tools. Was necessary to change group ownership of file > >>> and permissions for it to work. > >>> > >>> Graham > >>> > >>> > > >>> > >> > >> > > >> > > > > > > > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To view this discussion on the web visit https://groups.google.com/d/msg/modwsgi/-/Jbpb1Q1pfBcJ. 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.
