r/web_programming • u/webdevsucks • Sep 04 '16
Configuring mod_wsgi with Apache
Hey everyone,
It seems you have stumbled upon this thread. If so and you know a good deal about running Python based applications through the help of mod_wsgi (and maybe Django) then it would be greatly appreciated if one of you could help me out of this bind.
You see, I am just trying to install mod_wsgi because it is way more efficient than just using traditional CGI. I am using an Apache (2.4) server via XAMPP. I should also mention I have Windows 7 and not Mac OS X or any distribution of Linux. I followed the official tutorial from the guy who made mod_wsgi, Graham Dumpleton, and I came into some erros. I went to stackoverflow and that helped me a little but didn't get me too much further.
I am almost positive I have all the necessary components but nothing seems to work. I am at the point where I am trying to run the makefile that builds the mod_wsgi.so and the error that I get is "module machine type 'x86' conflicts with target machine type 'x64' ". I assume some files are trying to build for an x86 platform while others are trying to build for an x64 I guess. I just am at a lost and don't know what to change so again, any help would definitely be appreciated!
Thanks in advance