mod_wsgi not compatible with Wamp 2.4 and python 3.4.3

justin walters walters.justin01 at gmail.com
Tue Apr 5 16:20:51 EDT 2016


On Apr 5, 2016 12:51 PM, "asimkon ." <asimkostas at gmail.com> wrote:
>
> I am using Apache to develop Python Web applications via Django. As i am
> new to python web development, i am having problem to find the right
> version for mod_wsgi.so (compiled version for Apache 2.4.4 - WampServer
2.4
> - and python 3.4.3 latest version from ActivePython on Windows x86) and i
> get a 500 internal server error "The server encountered an internal error
> or misconfiguration and was unable to complete your request".
>
> when i try to run the following script:
>
> def application(environment, start_response):
> status = '200 OK'
> response_headers = [('Content-type', 'text/html')]
> start_response(status, response_headers)
> page = """
> <html>
> <body>
> <h1>Hello world!</h1>
> <p>This is being served using mod_wsgi</p>
> </body>
> </html>
> """
> return page
>
> I just found the following link
>
http://grapevine.dyndns-ip.com/download/folder.asp?eid=33&folder=%2Fdownload%2Fapache%2Fmod_wsgi-windows-4.4.6%2Fmod_wsgi-windows-4.4.6%2Fapache24-win32-vc10%2Fmodules%2F
> but unfortunately i have got incompatibility problems with the compiled
> files mentioned. Any kind of help would be convenient to me.
>
> I am looking for the compiled (.so file) version, as it will save me from
a
> lot of trouble.
>
> Regards
> Kostas  Asimakopoulos
> --
> https://mail.python.org/mailman/listinfo/python-list

Have you tried using apache as a proxy server to forward requests to a
dedicated wsgi server such as gunicorn instead of using mod_wsgi? I find
it's a lot easier to set up.



More information about the Python-list mailing list