Re: cgi problem

2006-03-09 Thread Thomas Guettler
Am Thu, 09 Mar 2006 00:35:25 -0800 schrieb Paul Rubin: > Tim Roberts <[EMAIL PROTECTED]> writes: >> Yes, but the CGI module doesn't write anything, so the advice of writing a >> "Location:" header still applies. > > Aha, it's coming from CGIHTTPServer.py:CGIHTTPRequestHandler.run_cgi() > where it

Re: cgi problem

2006-03-09 Thread Kent Johnson
Paul Rubin wrote: > Tim Roberts <[EMAIL PROTECTED]> writes: > >>Yes, but the CGI module doesn't write anything, so the advice of writing a >>"Location:" header still applies. > > > Aha, it's coming from CGIHTTPServer.py:CGIHTTPRequestHandler.run_cgi() > where it says > > self.send_respo

Re: cgi problem

2006-03-09 Thread Paul Rubin
Tim Roberts <[EMAIL PROTECTED]> writes: > Yes, but the CGI module doesn't write anything, so the advice of writing a > "Location:" header still applies. Aha, it's coming from CGIHTTPServer.py:CGIHTTPRequestHandler.run_cgi() where it says self.send_response(200, "Script output follows") I

Re: cgi problem

2006-03-09 Thread Tim Roberts
Paul Rubin wrote: > >Thomas Guettler <[EMAIL PROTECTED]> writes: >> > back to the originating url, i.e. I want the cgi to send a 302 redirect. >> >> I have this setup for a small script (for bigger things I use quixote)... > >Thanks. It looks like you've written your cgi

Re: cgi problem

2006-03-08 Thread Paul Rubin
Thomas Guettler <[EMAIL PROTECTED]> writes: > > back to the originating url, i.e. I want the cgi to send a 302 redirect. > > I have this setup for a small script (for bigger things I use quixote)... Thanks. It looks like you've written your cgi completely from scratch. I was hoping to use the cg

Re: cgi problem

2006-03-08 Thread Thomas Guettler
Am Wed, 08 Mar 2006 00:19:55 -0800 schrieb Paul Rubin: > I'm trying to write a simple cgi that reads a post from the user's > browser, does some stuff with the form data, and redirects the browser > back to the originating url, i.e. I want the cgi to send a 302 > redirect. Hi, I have this setup

Re: cgi problem

2006-03-08 Thread Kent Johnson
Paul Rubin wrote: > I'm trying to write a simple cgi that reads a post from the user's > browser, does some stuff with the form data, and redirects the browser > back to the originating url, i.e. I want the cgi to send a 302 > redirect. > > There's no obvious way in the cgi module to set the respo

Re: CGI Problem on MS IIS 5.0 - Trying to access files on other machines

2005-09-16 Thread Pat [MSFT]
Don't change the account IIS is running under - that is a pretty big security issue waiting to happen. Change the authentication model for the web site to Basic, then logon as you. That will cause any execution to be in the security context you are expecting. Pat "paulp" <[EMAIL PROTECTED]>

Re: CGI Problem on MS IIS 5.0 - Trying to access files on other machines

2005-09-16 Thread paulp
Based on your comment, I finally realized that IIS is running under the IUSR_ account. So I changed the priveleges on this account on my test IIS server as related elsewhere in this note. So now I'm getting a different error. 1326, "LogonUser", "Logon failure: unknown user name or bad password"

Re: CGI Problem on MS IIS 5.0 - Trying to access files on other machines

2005-09-15 Thread paulp
Here is where my ignorance shows. What is a "double hop" issue? Paul "Pat [MSFT]" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Set the site to be Basic Authentication and login as you. I suspect that > the .exe is either running as IWAM/IUSER (i.e. GUEST) or you are running > i

Re: CGI Problem on MS IIS 5.0 - Trying to access files on other machines

2005-09-15 Thread Pat [MSFT]
Set the site to be Basic Authentication and login as you. I suspect that the .exe is either running as IWAM/IUSER (i.e. GUEST) or you are running into a double hop issue. Pat "paulp" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings, > > I'm working on a CGI program tha

Re: CGI Problem on MS IIS 5.0 - Trying to access files on other machines

2005-09-15 Thread Roger Upole
You need to adjust your privileges before you call LogonUser. hth Roger "paulp" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings, > > I'm working on a CGI program that will run under MS IIS 5.0 and will > browse folders on three other machines, building HTML page