Re: [us...@httpd] Custom Error Handling

2009-06-16 Thread Torsten Foertsch
Hi André, On Tue 16 Jun 2009, André Warnier wrote: > Alan Wilson wrote: > > Thanks - that makes sense, using a test along the lines of > > > > print "Content-Type: text/html\n"; > > print "Status: 302 Moved\nLocation: > > http://www.mydomain.com/test.cgi\n\n";; print "\n"; > > > > Seems to do what

Re: [us...@httpd] Custom Error Handling

2009-06-16 Thread André Warnier
Alan Wilson wrote: Thanks - that makes sense, using a test along the lines of print "Content-Type: text/html\n"; print "Status: 302 Moved\nLocation: http://www.mydomain.com/test.cgi\n\n";; print "\n"; Seems to do what I want. That is strange, and I am surprised it works (but I don't know ev

RE: [us...@httpd] Custom Error Handling

2009-06-16 Thread Alan Wilson
ould be. Alan Alan Wilson Icetrak Ltd | v:08454560561 | f:08708895005 | e:awil...@icetrak.net -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 15 June 2009 12:31 To: users@httpd.apache.org Subject: Re: [us...@httpd] Custom Error Handling > Is this possible and i

Re: [us...@httpd] Custom Error Handling

2009-06-15 Thread André Warnier
Alan Wilson wrote: Hi, I'm trying to get httpd to return a custom error code via a CGI, eg if the client makes a connection to test.cgi (which is a valid URI) but the parameters, POST data or some other aspect of the interaction is incorrect I want to return a different error code from the sta

[us...@httpd] Custom Error Handling

2009-06-15 Thread Alan Wilson
Hi, I'm trying to get httpd to return a custom error code via a CGI, eg if the client makes a connection to test.cgi (which is a valid URI) but the parameters, POST data or some other aspect of the interaction is incorrect I want to return a different error code from the standard 200, eg "Status