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

Reply via email to