What about if you try http://domain/?
You might need a pipeline in the main sitemap to catch a URL that ends
in "domain" without the trailing slash:
<map:match pattern="domain">
<map:redirect-to uri="domain/"/>
</map:match>
<map:match pattern="domain/**">
<map:mount uri-prefix="domain" src="domain/" check-reload="yes"/>
</map:match>
Cheers,
Lajos
Marc G. Fournier wrote:
> Okay, as suggested, I replaced mod_webapp with mod_jk2, and if I go to
> http://domain now, it comes up with an error to the effect of:
>
> Cocoon 2 - Resource not found
>
> In my httpd.conf file, I have:
>
> # Configure mod_jk
> #
> JkWorkersFile /usr/local/jakarta-tomcat4.1.10/conf/jk/workers.properties
> JkLogFile /var/www/mod_jk.log
> JkLogLevel info
>
> where workers.properties just contains:
>
> ===============
> workers.tomcat_home=/usr/local/jakarta-tomcat4.1.10
> workers.java_home=/usr/local/jdk1.3.1
> ps=/
> worker.list=ajp12, ajp13
>
> # Definition for Ajp13 worker
> #
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> ================
>
> Now, in my VirtualHost directive for the domain, I have:
>
> JkMount / ajp13
>
> which is obviously wrong ... but what should it be?
>
> Basically, what I want, is for:
>
> http://domain to "connect" to http://domain:8009/cocoon/domain
>
> and use the sub-sitemap.xmap file properly ... but this is all new to me
> :(
>
> Again, if there is a good how to on this that I should be reading, please
> point me to it ...
>
> Thanks ...
>
>
>
> ---------------------------------------------------------------------
> 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]>
>
>
--
galatea.com
Cocoon training, consulting & support
---------------------------------------------------------------------
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]>