httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eike Frost ...@kefro.st>
Subject Re: [users@httpd] Error when issuing a 302 from a CGI
Date Fri, 28 Jul 2006 20:13:34 GMT
Hi,

On Friday 28 July 2006 21:42, Jose Adriano Baltieri wrote:
> I have a tiny CGI program written in C that's like this :
(...)
> HTTP/1.1 302 Found
> Location: http://www.unimep.br
>
> However, when I run it from the browser I'll receive an "Internal Server
> Error".

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).

--Eike

Mime
View raw message