Question regarding mod_python and a script for web.
johnpen1 at hotmail.com
Fri Dec 21 02:10:06 CET 2012
I'm a linux admin that was tasked by his python programming boss to solve a problem my boss is having with a web form he wrote on our site. Unfortunately for me, I lack any experience whatsoever with python and very little with programming on the web, so my hope is someone can point me in the right direction for solving this.
Basically, the problem is this. we have a webform that collects data such as, NAME, SSN, EMAIL Address etc.. when the user hits submit,
the uri posts to the query string like the folllowing:
Which is bad as we are are going to be collecting data like Social Security numbers.
We are using mod_python
WSGIScriptAlias /myapp /var/www/html/admit/index.pyRewriteEngine OnRewriteRule ^/admit https://test.uchast.com/admit<Directory /var/www/html/admit>Order deny,allowAllow from allSSLRequireSSLDirectoryIndex index.py
AddHandler mod_python .pyPythonHandler mod_python.cgihandler
Does anyone have an idea how to make sure a python script doesn't put the data in the query string? Am I even making sense? Any all help would be greatly appreciated because as I mentioned I'm as new as it gets.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list