Hello All,
I have a webapp in my home/public_html/ dir.
It works well from here. And then when I move it to my home/public_html/vili
dir, it cannot download images, js, and css.
snippet of sitemap.xmap is:
<map:match pattern="images/**.*">
<map:read mime-type="image/{2}" src="images/{1}.{2}"/>
</map:match>
<map:match pattern="css/*.css">
<map:read src="css/{1}.css" />
</map:match>
<map:match pattern="js/**.js">
<map:read src="js/{1}.js" />
</map:match>
when I moved it into vili, I made a sitemap.xmap on my home/public_html:
<map:pipelines>
<map:pipeline>
<map:match pattern="**/*">
<map:mount check-reload="yes" src="{1}/" uri-prefix="{1}"/>
</map:match>
</map:pipeline>
</map:pipelines>
When I try to download an image directly in browser's command line, I get an
error:
http://localhost:8888/~zamek/vili/images/template/1x1.gif
org.apache.cocoon.ResourceNotFoundException: Resource not found.:
org.apache.excalibur.source.SourceNotFoundException:
file:/home/zamek/public_html/vili/images/template/sitemap.xmap doesn't
exist.
Well, it tried to mount images/template directory, but there isn't any
sitemap.xmap.
I tried to change mount to this:
<map:match pattern="*/**">
<map:mount check-reload="yes" src="{1}/" uri-prefix="{1}"/>
</map:match>
but it isn't well:
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
~zamek/vili/css/index.html
So how can I set it?
--
thx,
----------------------------------------------------
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]