If you have grabbed the mod_wsgi.so from download site it is only a 32 bit binary. In that situation you must be using 32 bit Apache and 32 bit Python. You cannot mix them up. So check what you have installed.
Graham On 9 February 2012 09:07, Artur Daschevici <[email protected]> wrote: > I am getting this when trying to isntall the mod_wsgi.so onto my > apache. > > httpd.exe: Syntax error on line 128 of C:/wamp/bin/apache/Apache2.2.21/ > conf/httpd.conf: Cannot load C:/wamp/bin/apache/Apache2.2.21/modules/ > mod_wsgi.so into server: %1 is not a valid Win32 application. > > I am running on windows 7 x64. Wamp version 2.2. > Downloaded mod_wsgi.so for python 2.6 with apache 2.2 > > -- > 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.
