next page does not load

nitin chandra nitinchandra1 at gmail.com
Thu Oct 16 19:23:03 UTC 2014


Hi All,

I know I can be confusing in my communications, most of the times.

What I am facing is in points, and hope I am clear in explaining my issue.

Point 1 - I am able to load the first page as given in [wsgi] ini file,
              wsgi-file = /home/usr/project/index.py

Point 2 - This, index.py, loads via http://localhost:9090/index.py; I
fill out the test
               form fields.
              <form method="post" action="Show&insertDB.py">

Point 3 - When I click on "Submit" the form button, the same page
reloads                            (index.py), refreshed BUT, in the
browser URL it shows
               "Show&insertDB.py".

Point 4 - If Show&insertDB is run Independently, replacing index.py With
              Show&insertDB.py, then there are no errors in running
the file. It requires
              me to change in [wsgi] ini file, FROM index.py TO Show&insertDB.py

Point 5 - In my nginx-wsgi.conf file I have
              include wsgi_params;
              include fastcgi_params;

Point 6 - In the *.py file i am doing
              import cgi, cgitb

Yet the next page does not load. Please, advice / guide / help needed here.

Thanks

Nitin




More information about the ubuntu-users mailing list