Thank you for that link! it will be of much use for me in future.

Kees

Robin Wyles wrote:

Hi...

You can find some useful information on Apache/Cocoon and serving static content here:

http://wiki.apache.org/cocoon/ApacheModProxy

Robin.

On 9 Sep 2004, at 17:37, Gerald Aichholzer wrote:

On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers <[EMAIL PROTECTED]> wrote:

Gerald Aichholzer said:

On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers


Well, by clicking on a href="/miracle/app/cook/info.gif" in my xhtml-source-code my browser connects to the following address:

   http://server:8888/miracle/app/cook/info.gif

But if I want to serve static content with apache, it should be

   http://server:80/miracle/app/cook/info.gif

Do I have to modify my generated xhtml-code to achieve this or
do I have to edit apache's configuration file only?


When done properly your links will be the same as they are. All incoming
requests go to apache at port 80. Apache forwards the stuff it isn't
handling to the servlet container (in this case at 8888). This is an
extremely common configuration (not just for Cocoon). You should search
the Apache http server site for more information.



Hi Ralph,

thanx for your answer - in my test some days ago using TinyWeb
I was explicitly putting "http://server:80/"; as prefix to the
href- resp. src-attribute values.

Anyway - I'm not quite sure if serving static content using
Apache would be an advantage in my situation. My application
reads sentences of a symbolic language from a XML-source and
converts the data to XHTML. The resulting page in the browser
contains many images, but there're many duplicates (because
most symbols are used two or more times).

Might cocoon's caching be an advantage under this circum-
stances?

thanx,
Gerald
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Kees van Dieren
Bram Groenewegeweg 8
4693 PP Poortvliet
The Netherlands
T: 0031 166 617132
M: 0031 6 43068619


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to