Simone,

1) you could use Apache mod-rewrite to get rid of "cocoon" in the URI (see
Cocoon FAQ)
2) you could map, say, every XML file to cocoon (check Tomcat docs)
3) you could use <map:read> to avoid Cocoon process (and thus slow down)
static content (see mailing list archives)

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Simone Gianni [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 23, 2001 10:07 AM
> To: [EMAIL PROTECTED]
> Subject: Cocoon + Tomcat + Apache
>
>
> Hi all ..
>
>       I'm trying to combine cocoon-tomcat with apache in a way
> that instead of
> typing http://www.mysite.com:8080/cocoon/something/somethingelse i can
> simply use http://www.mysite.com/something/somethingelse .... do you know
> if there is any document describing how to do this? And to make apache
> serve the static files (images for example) how do i override the
> "catch-all" to alias some directories (like /images) to a static dir and
> have them served by apache ?
>
>       Thanks, ciao
>
>       Simone
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to