Testing install and script

10 views
Skip to first unread message

nitin chandra

unread,
Jun 25, 2020, 11:08:04 AM6/25/20
to mod...@googlegroups.com
Hi All,

Last time I did development in in apache + mod_wsgi and I was able to get project going, with web forms and python 2.

Today I am testing those same *.py script with nginx 1.17.10 +uwsgi 2.0.19 and python3.8.2 on Ubuntu 20.04 server

I changed 
#! line to use python3

edited the 'return' line to :

return [output.encode('utf-8')]

both worked, my index.py page showed up. Enter Username and password.

But when I click Submit, the next page does not load.

Is that That big a difference with mod_wsgi and uwsgi ?

Also somehow I am not getting any mails from uWSGI list.

I just need a little support in getting this going. 

Thanks in advance.

Nitin

Graham Dumpleton

unread,
Jun 25, 2020, 4:40:34 PM6/25/20
to mod...@googlegroups.com
For uWSGI questions I suggest using StackOverflow.

On 26 Jun 2020, at 1:07 am, nitin chandra <nitinc...@gmail.com> wrote:

Hi All,

Last time I did development in in apache + mod_wsgi and I was able to get project going, with web forms and python 2.

Today I am testing those same *.py script with nginx 1.17.10 +uwsgi 2.0.19 and python3.8.2 on Ubuntu 20.04 server

I changed 
#! line to use python3

The #! line doesn't matter in mod_wsgi as it is mod_wsgi which controls the Python version, similar with uWSGI. The only time #! would be used is if you were using CGI.

edited the 'return' line to :

return [output.encode('utf-8')]

both worked, my index.py page showed up. Enter Username and password.

But when I click Submit, the next page does not load.

Is that That big a difference with mod_wsgi and uwsgi ?

It is most likely a configuration issue with nginx and uWSGI, so ask on StackOverflow as noted above.

Also somehow I am not getting any mails from uWSGI list.

I just need a little support in getting this going. 

Thanks in advance.

Nitin


--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/CAFSKaezbBYj90UhJOsC5x1g5ea%3DyF3oQ_vifQ0Labn6hqrENMg%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages