[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] - HELP Is a linux problem ? is a apache problem ? - HELP
- Subject: Re: [cobalt-users] - HELP Is a linux problem ? is a apache problem ? - HELP
- From: "Ing. Ernesto Pérez Estévez" <ernesto@xxxxxxxxxxx>
- Date: Thu Mar 15 06:32:48 2001
- Organization: AgilWeb - Cuenca - Ecuador
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
luis@xxxxxxxx wrote:
> 1) put a short script with 2 lines ( in this case result.pl )
> #!/usr/bin/perl
> print "Content-Type: text/html ";
Why don't you try this line instead:
print "Content-Type: text/html\n\n";
> print "IS OK\n";
>
> 2) In telnet I type the following command:
>
> # telnet www.domain.com 80
> # POST http://www.domain/cgi-bin/result.cgi HTTP/1.0
>
> I sopposed I have to received the following message
> HTTP/1.1 200 OK
> Date: Wed, 14 Mar 2001 20:09:31 GMT
> Server: Apache/1.3.6 (Unix) (Red Hat/Linux) PHP/3.0.9
> Connection: close
> Content-Type: text/html
>
> IS OK
> Connection closed by foreign host.
> (And this is the correct message I received in other machine)
>
> BUT
> I received the following message in my RaQ3
>
> HTTP/1.1 302 Found
> Date: Wed, 14 Mar 2001 23:58:51 GMT
> Server: Apache/1.3.12 Cobalt (Unix) mod_ssl/2.6.4 OpenSSL/0.9.5a
> PHP/4.0.3pl1 mo
> d_auth_pam/1.0a FrontPage/4.0.4.3 mod_perl/1.24
> Location: http://www.domain.com/cgi-bin/result.pl
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <HTML><HEAD>
> <TITLE>302 Found</TITLE>
> </HEAD><BODY>
> <H1>Found</H1>
> The document has moved <A
> HREF="http://www.domain.com/cgi-bin/respuesta.pl">her
> e</A>.<P>
> </BODY></HTML>
> Connection closed by foreign host.
>
> Anybody can help me ? Please ?....
>
> Luis
> ========
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users