I have returned. It seemed like all was working well when I ran into
trouble trying to parse HTML data from my Python script. I just assumed it
was maybe my script or my front-end code that was the problem. In my Python
script, I set the running instance of it on port 8080 and when I tried to
connect there via my web browser, it could not connect. So somehow it is
not starting up in the first place. I assume this maybe has something to do
with the configuration of mod_wsgi, but I could be wrong.
The part that starts my WSGI application is:
*if __name__ == '__main__':*
* try:*
* from wsgiref.simple_server import make_server*
* httpd = make_server('localhost', 8080, app)*
* print('Serving on port 8080...')*
* httpd.serve_forever()*
* except KeyboardInterrupt:*
* print('Goodbye.')*
And what I used to load mod_wsgi and my application into the Apache server
is:
*LoadModule wsgi_module modules/mod_wsgi.so*
*WSGIScriptAlias /wsgi "C:/xampp/htdocs/wsgi/app.py"*
*<Directory "C:/xampp/htdocs/wsgi">*
*Order allow,deny*
*Allow from all*
*</Directory>*
I thought all was well but I'm going wrong somewhere I guess. Any help
would be appreciated.
--
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.