You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Conal Tuohy <Co...@vuw.ac.nz> on 2003/07/23 09:36:41 UTC

How to add Content-Length headers?

I have a Cocoon site which I'm trying to cache (with a reverse-proxy). To cache a page, the proxy seems to require a Content-Length header, but some of my Cocoon pipelines don't return this header. I don't know why - can anyone enlighten me? I'm using c2.1m2

Cheers

Con

--
Conal Tuohy
Senior Programmer
(021)237-2498
conal@nzetc.org
New Zealand Electronic Text Centre
www.nzetc.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Newbie Question?

Posted by Upayavira <uv...@upaya.co.uk>.
On Wed, 23 Jul 2003 08:11:58 -0700 (PDT), "Lenandlar Singh"
<le...@yahoo.com> said:
> Hello,
>  
> Im a newbie to Cocoon and am still trying to understand the framework.
>  
> I have installed and running, cocoon-2.1m3-dev.
>  
> I downloaded and installed a site called bonebreaker in
> c:\cocoon\build\webapp\samples so that i have something like
> this..c:\cocoon\build\webapp\samples\bonebreaker.
>  
> I would like to view this site.
>  
> What do i need to do?

Did you use 'cocoon servlet' to start Cocoon? If so:

http://localhost:8888/samples/bonebreaker/

should do it.

If you're using Tomcat, you'll probably need:

http://localhost:8080/cocoon/samples/bonebreaker/

The final / are important.

Regards, Upayavira

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Newbie Question?

Posted by Lenandlar Singh <le...@yahoo.com>.
Hello,
 
Im a newbie to Cocoon and am still trying to understand the framework.
 
I have installed and running, cocoon-2.1m3-dev.
 
I downloaded and installed a site called bonebreaker in c:\cocoon\build\webapp\samples so that i have something like this..c:\cocoon\build\webapp\samples\bonebreaker.
 
I would like to view this site.
 
What do i need to do?
 
Thanks.
 
Len.




---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: How to add Content-Length headers?

Posted by Andreas Kuckartz <A....@ping.de>.
In addition to other areas have a look at this bug:

Wrong HTTP Content Length for Reader when "show-time"
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17370

Andreas

----- Original Message ----- 
From: "Conal Tuohy" <Co...@vuw.ac.nz>
To: "Cocoon-Users (E-mail 2)" <us...@cocoon.apache.org>
Sent: Wednesday, July 23, 2003 9:36 AM
Subject: How to add Content-Length headers?


I have a Cocoon site which I'm trying to cache (with a reverse-proxy). To
cache a page, the proxy seems to require a Content-Length header, but some
of my Cocoon pipelines don't return this header. I don't know why - can
anyone enlighten me? I'm using c2.1m2

Cheers

Con

--
Conal Tuohy
Senior Programmer
(021)237-2498
conal@nzetc.org
New Zealand Electronic Text Centre
www.nzetc.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org