On Friday 28 July 2006 21:34, Joshua Slive wrote: > > Rename the CGI script to nph-something -- this will tell mod_cgi to treat > > the script as one with non-parseable headers (and subsequently leaves the > > response code alone to do with as you wish). Whilst feasible, that's fragile and requires more work than normal CGI. > This advice will probably work, but the better advice is to replace > the first line with > Status: 302 Found Yep. But you can simply omit it altogether, as it is implied by the CGI Location header. > CGI scripts don't emit the status line, but they can tell the server > to send a particular status using the Status header. See the CGI > spec. Exactly. Don't confuse CGI "special" headers with HTTP headers. And don't confuse the HTTP status code with a header. -- Nick Kew --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx