[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] (RaQ2) Problem with headers again.



What about this:

---
HTTP/1.1 302 Found 
Date: Sat, 27 Nov 1999 15:28:57 GMT 
Server: Apache/1.3.3 Cobalt (Unix) (Red Hat/Linux) 
Location: http://www.webo.com.ar/ 
Connection: close 
Content-Type: text/html 


Found 

The document has moved here . 
---

This is whay you get on http://webo.com.ar, it's generated by mod_rewrite.
There's content-type and Location..
Anyway, I choped out the "content type", and I'm still getting the same error..

At 07:13 27/11/1999 -0500, you wrote:
>Ahoy
>
>You're right, it won't. You EITHER return a page OR a location. If you
>return a page, then
>
>print "Content-type: text/html\n\n"
>print "<pagecodehere>";
>exit;
>
>or, better yet
>
>print<<"End_Page";
>Content-type: text/html
>
><pagecodehere>
>EndPage
>exit;
>
>is appropriate. If you return a location, then
>
>print "Location: http://www.thatsite.com\n\n";;
>
>is the way. But you can't do both at once.
>
>Aloha
>
>
>-----Original Message-----
>From: Dominik Brettnacher <domi@xxxxxxxxxxx>
>To: cobalt-users@xxxxxxxxxxxxxxx <cobalt-users@xxxxxxxxxxxxxxx>
>Date: Saturday, November 27, 1999 5:59 AM
>Subject: Re: [cobalt-users] (RaQ2) Problem with headers again.
>
>
>>On Thu, 18 Nov 1999, cobalt-users@xxxxxxxxxxxxxxx wrote:
>>
>>> It rins fine on a shell, and it prinrts:
>>>
>>> Content-type: text/html
>>> Location: http://some_URL
>>
>>Why do you use "Content-type" together with "Location"? I think this
>>doesn't work anyway.
>>
>>
>>--
>>Dominik - http://www.saargate.de/~domi/
>>
>>
>>_______________________________________________
>>cobalt-users mailing list
>>cobalt-users@xxxxxxxxxxxxxxx
>>http://list.cobalt.com/mailman/listinfo/cobalt-users
>>
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-users