Any reason you didn't just use the official mod_wsgi builds I make available 
rather than those from the gohike site?

They can be found at:

    https://github.com/GrahamDumpleton/mod_wsgi/releases

Go down to version 4.4.6 and you will find the last Windows builds.

They aren't updated on every build as usually there isn't a need as most 
changes aren't relevant to Windows.

Graham

On 13/03/2015, at 4:08 PM, Richard Lee <[email protected]> wrote:

> hello, 
> 
> I'm trying to organise mod_wsgi on my desktop at home (Windows 8.1 64-bit), 
> hoping to pair it with Apache2.4 / Django / Python 3.4
> 
> I have read the following very carefully, and was working through the "hello 
> world" case to localise to my machine, but am still running into difficulties
> 
> The VC compiler alignment requirements are tough and quite cryptic, so I am 
> posting here to ask if I have any missing steps.  I even tried to download 
> Microsoft Visual Studio at one point to compile it myself, but wasn't sure 
> which version and to no avail- it did not have nmake.exe in the contents.
> 
> The steps I have taken thusfar:
> 
> Install Apache 2.4 binary from Apache Lounge, httpd-2.4.12-win64.zip and 
> getting the basic test page operational.  
> Set Apache logging level from "warn" to "debug"
> Installed Python python-3.4.2.amd64.msi for my 64-bit windows machine
> Downloaded the pre-compiled binary, 
> mod_wsgi-4.4.10+ap24vc10-cp34-none-win_amd64.whl from uci.edu download site , 
> aligning it to Python 3.4.2 VC10, and Apache VC10
> renaming it to mod_wsgi.so and putting it into the Apache24/modules directory
> Added the following to /conf/
> LoadModule wsgi_module modules/mod_wsgi.so
> ...
> WSGIScriptAlias /myapp "c:/Apache24/wsgi-scripts/myapp.wsgi"
> <Directory "c:/Apache24/wsgi-scripts">
>   Order allow,deny
>   Allow from all
> </Directory>
> 
> However, I am running into this error:
> C:\Apache24\bin>httpd -k restart
> httpd: Syntax error on line 177 of C:/Apache24/conf/httpd.conf: Cannot load 
> modules/mod_wsgi.so into server: %1 is not a valid Win32 application.
> 
> I'm not sure the material in Step 4 is usuable as a mod_wsgi.so file?  
> 
> Are there any other issues I might have missed?  I'm a little bit lost here 
> and there seem to be many steps where something could go wrong.
> 
> Thanks and Kind Regards
> 
> Richard Lee
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to