No need to redirect, your problems can be solved with the AliasMatch directive in httpd.conf:
AliasMatch ^(.*)/([^/]+\.gif)$ /path/to/images/$2 AliasMatch ^(.*)/([^/]+\.css)$ /path/to/css/$2 The above will match any .gif or .ccs, both legacy and cocoon, and serve them from the same location. HTH +Ryan -----Original Message----- From: Jeremy Quinn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:35 AM To: [EMAIL PROTECTED] Subject: Complicated setup Hi All Can anyone advise me on getting this complicated setup right? We have a website that will have some stuff served by Cocoon and some served by Apache. It is not easy to separate them out because we need to retain legacy URLs. Likewise, it is not possible to give Cocoon served material a URL prefix, primarily because we need Cocoon to serve the home page of the site. From Cocoon: / /index /general/* /archive/* /x-space/* etc. (about 10 items) From Apache: /images/* /movies/* /audio/* /x-spaceprojects/* /harlem/* etc. (also about 10 items) And then we need Slide-based WebDAV access to the Cocoon based material, with Cocoon generating from the Slide repository ..... and this I have still never had working ..... If necessary we /could/: a) place all static content in a single directory and redirect (legacy URLs) into it from Cocoon. b) use virtual-hosts, one for Cocoon and one for the static stuff and redirect from Cocoon. But redirecting to images etc. is not that great ;) I am getting confused with all the options ...... virtual-hosts, web-app, JK, JK2 connectors and all the options in them! Have any of you lot tried any of this before? How did you approach it? Many thanks for any help regards Jeremy --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>