Re: [Tutor] mod python

2008-04-22 Thread Carlos Daniel Ruvalcaba Valenzuela
Hello, I think this is a problem with mod_python and Apache configuration, you should checkout mod_python configuration for Apache+Windows. Most likely your problem is the mod_python library file, use this instead (more appropiate for windows): "LoadModule python_module modules/mod_python.dll" I

Re: [Tutor] Mod-python

2006-06-12 Thread Patricia G.
Hi, When you say you that you want to send this data via Apache do youmean that the web server you are sending to is running Apache  Yes. If you simply want to emulate a a web page with a submit button thatsends a Post you do it with code a bit like the following import urllib, urllib2url = "" hr

Re: [Tutor] Mod-python

2006-06-12 Thread Peter Jessop
> > I have about 17 lines of text (about system information) that I need to pass > to > a remote web server AND I've been asked to send this data via Apache. I have > to > write a python script that will fetch a URL to pass this text. I understand > that > if I want to use the POST method, I wou

Re: [Tutor] Mod-python

2006-06-12 Thread Dustin Mitchell
Well, POST or PUT are the normal ways to do that. You need to interact with the person running the web server to see how they need it delivered - if they're expecting a GET and you give them a POST, it isn't going to work very well :) Dustin On Jun 12, 2006, at 2:48 PM, patricia wrote: > Hi!