I can confirm that the "hello world" test described here 
<http://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html>
 works 
using "pip install mod_wsgi" with the following configuration:

Windows Server 2016 (64 bit)
Apache Lounge VC14 Server built: Dec 17 2016 11:15:57
Python 3.6 (64 bit)

>From the Apache error log:

AH00455: Apache/2.4.25 (Win64) mod_wsgi/4.5.15 Python/3.6 configured -- 
resuming normal operations


A few notes of things I ran into as a complete beginner:

   - Orginally (before I came across this thread) I was searching for the 
   .so file to use with the LoadModule directive, I thought this may have been 
   output when the mod_wsgi package was installed, maybe this could be 
   clarified in the docs / console output. (or maybe I can't read, haha)
   - I ran into a "403 Forbidden" when testing the "Hello World" example, 
   the access control directives are different for Apache 2.4 as described 
   here <http://httpd.apache.org/docs/2.4/upgrading.html>. So I changed 
   "Order allow,deny / Allow from All" to "Require all granted"


On Monday, November 28, 2016 at 11:56:33 PM UTC-6, Graham Dumpleton wrote:
>
> No takers?
>
> If anyone does eventually try it, you can now do it as:
>
>     pip install mod_wsgi
>
> as have released changes in mod_wsgi version 4.5.8.
>
> Graham
>
> On 28 Nov 2016, at 12:21 PM, Graham Dumpleton <graham.d...@gmail.com 
> <javascript:>> wrote:
>
> Do I still have any users left out there still using Windows?
>
> I have an easier way of installing mod_wsgi on Windows that I need others 
> to test in different setups. If you can help that would be great.
>
> Requirements are that you have Apache 2.4 installed in the ‘C:/Apache24’ 
> directory. That you have appropriate Microsoft C++ compiler installed for 
> your Python version such that you can pip install Python packages which 
> have C extension components. That your Python installation is installed for 
> all users if running Apache as a service.
>
> I am going to assume you are all knowledgable enough about Windows to know 
> what you need to do to get pip installed, as well as use Python virtual 
> environments to avoid installing in main Python installation if security 
> execution policies make life difficult for you. Whatever you do know, it is 
> still probably going to be more than what I know about Windows.
>
> If you think you are all good to go, then simply run:
>
>     pip install -U 
> https://github.com/GrahamDumpleton/mod_wsgi/archive/develop.zip
>
> If this succeeds, run:
>
>     mod_wsgi-express module-config
>
> This should output some Apache configuration to put in your httpd.conf 
> file to load mod_wsgi and tell it where the Python DLL is and where your 
> Python installation or virtual environment is. Use this in place of what 
> you might already have for the LoadModule directive for wsgi_module.
>
> Configure Apache to setup your WSGI application as you would normally do 
> and restart Apache.
>
> So does it work or does it break?
>
> I have tested this with Python 3.5 and Apache 2.4 (VC14 64 bit version) 
> from apachelounge.com.
>
> Technically it could work for older Python versions but I am not going to 
> try myself as I don’t want to go through the trouble of installing older 
> Python versions. So if you have older Python versions, let me know.
>
> If pip fails on installation, what error do you get?
>
> If Apache fails to start, what does ‘mod_wsgi-express module-config’ 
> generate?
>
> Thanks.
>
> Graham
>
>
>

-- 
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 modwsgi+unsubscr...@googlegroups.com.
To post to this group, send email to modwsgi@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to