On Tuesday, Dec 3, 2002, at 15:31 Europe/London, leo leonid wrote:
On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn wrote:Hi All Can anyone advise me on getting this complicated setup right?
<snip/>
Many thanks for any help
I had a very similar situation, I solved it by regarding the suffix. In my Apache DocumentRoot are all directories with static content. I only mount the following
JkMount / worker2
JkMount /*.html worker2
JkMount /*.xml worker2
Is 'JK2' the best one to be using now? I am a bit confused between mod_webapp (warp) and JK[n] TBH.
Sure you'll run into troubles if there are html files in the static directories, or you rename it to *.htm
Can't change the urls ;)
The problem here, is relying on suffixes ..... we cannot .....I you find a more flexible solution, please tell me.
As I remember, mapping '/' to mod_webapp stopped Apache from serving ANYTHING.
But as you imply in your sample above, this is not the case with JK2?
So I would be able to map a long list of folders to JK2 and have everything else automatically handled by Apache?
eg.
JkMount / worker2
JkMount /index worker2
JkMount /index.* worker2
JkMount /archive/* worker2
JkMount /collaboration/* worker2
JkMount /education/* worker2
JkMount /general/* worker2
JkMount /library/* worker2
JkMount /news/* worker2
JkMount /press/* worker2
JkMount /publications/* worker2
JkMount /season/* worker2
JkMount /search/* worker2
JkMount /x-space/* worker2
Is this going to work?
Will Cocoon 'receive' the whole URL, or just the bit picked up by the '*'?
Thanks for your 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]>