Hi
I'm getting a bit mixed up with urls inside
Tomcat, each application , Cocoon.
Just a few questions
- how do I get the sitemap to just point to an
index.html page in the same directory ( generator doesn't seem to work with a
<map:match pattern="*"> on a file already in html format)
(by the way, I'm sure I have read a thread
on this but couldn't find it: is there a faq, other from the installation faq
on apache site?)
Check following sitemap snippet (from stock
sitemap):
<map:match
pattern="images/**.jpg"> <map:read
src="resources/images/{1}.jpg" mime-type="image/jpg"/>
</map:match> What you need is:
<map:match
pattern="your-pattern"> <map:read src="index.html"
mime-type="text/html"/>
</map:match>
-How do I set up Tomcat to point to cocoon as
localhost: actually, I've got http://localhost/cocoon/myfile, and I'd like to have just localhost pointing directly to myfile?
I suppose I really can't avoid to install Apache, and run Tomcat as service,
instead of my simple Tomcat / Cocoon application.
You can install cocoon as ROOT application, in
server.xml:
<Context path="" docBase="C:/path/to/webapp"
debug="0"/>
And (hopefully) it will
work.
Vadim
I hope I'll soon be able to answer questions on
this mailing list, because for the moment I seem to really make you work a
lot.
Thanks for your help.
Cib
France, Bordeaux, xml and gay
pride.
|