Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35250
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <johnpen1@hotmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.122 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.76; '*S*': 0.00; 'subject:Question': 0.07; 'python': 0.09; 'subject:script': 0.09; 'collects': 0.16; 'hits': 0.16; 'skip:m 80': 0.16; 'subject:mod_python': 0.16; 'url:mi': 0.16; 'url:py': 0.16; 'whatsoever': 0.16; 'string': 0.17; 'everyone,': 0.17; 'thanks,': 0.18; 'admin': 0.18; 'skip:s 70': 0.22; 'programming': 0.23; 'posts': 0.23; 'idea': 0.24; 'linux': 0.24; 'script': 0.24; 'wrote': 0.26; 'skip:# 10': 0.27; 'appreciated': 0.27; 'skip:e 30': 0.27; "doesn't": 0.28; 'skip:/ 40': 0.29; 'skip:& 10': 0.29; 'this.': 0.29; "i'm": 0.29; 'query': 0.30; 'point': 0.31; 'web,': 0.33; 'subject:regarding': 0.33; 'problem': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'collecting': 0.35; 'direction': 0.35; 'solving': 0.35; 'bad': 0.37; 'does': 0.37; 'data': 0.37; 'skip:o 20': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'little': 0.39; 'help': 0.40; 'skip:a 30': 0.60; 'address': 0.60; 'john': 0.60; 'skip:u 10': 0.60; 'received:65.55.90': 0.62; 'received:snt0.hotmail.com': 0.62; 'solve': 0.62; 'mentioned': 0.63; 'url:email': 0.63; 'making': 0.64; 'our': 0.65; 'boss': 0.65; 'url:%1': 0.68; 'social': 0.69; 'lack': 0.71; 'basically,': 0.84; 'etc..': 0.84; 'submit,': 0.84; 'tasked': 0.84; 'url:phone': 0.84; 'url:program': 0.84; 'url:step': 0.84 |
| X-EIP | [FBrJIreq0yur0GRIJKiPukEHnTWYq4uv] |
| X-Originating-Email | [johnpen1@hotmail.com] |
| Content-Type | multipart/alternative; boundary="_7d04360a-db5a-4540-8e47-eefd43603ef1_" |
| From | John Pennington <johnpen1@hotmail.com> |
| To | <python-list@python.org> |
| Subject | Question regarding mod_python and a script for web. |
| Date | Thu, 20 Dec 2012 17:10:06 -0800 |
| Importance | Normal |
| MIME-Version | 1.0 |
| X-OriginalArrivalTime | 21 Dec 2012 01:10:06.0538 (UTC) FILETIME=[E9EB82A0:01CDDF17] |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1125.1356052276.29569.python-list@python.org> (permalink) |
| Lines | 91 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1356052276 news.xs4all.nl 6933 [2001:888:2000:d::a6]:59893 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35250 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Everyone, 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: https://test.uchast.com/admit/supp.py?fname=john&lname=fenn&mi=ted&ssn=123456789&ssn_confirm=123456789&phone=412-658-3178&email=jojo%40uc.com&alt_email=jojo12%40yahoo.com&lsacid=&grad_date=May-2013&program=JD&step=2 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 ###PythonHandler mod_python.publisher PythonDebug On</Directory> 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. Thanks, John
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Question regarding mod_python and a script for web. John Pennington <johnpen1@hotmail.com> - 2012-12-20 17:10 -0800
csiph-web