Hi all.
I have a weird things happenning while serving css files.

I have an html file impact.html that has in it a link to a stylesheet:
<link rel=3D"stylesheet" type=3D"text/css" href="">
I serve this file in cocoon:
<map:match pattern=3D"impact">
  <map:generate src="" type=3D"html"/>
  <map:serialize type=3D"html"/>
</map:match>

<map:match pattern=3D"*.css">
  <map:read src="" mime-type=3D"text/css"/>
</map:match>

This way it works, and loads the css correctly.

BUT if I change the pattern of the match from pattern=3D"impact" to =
something that contains / in it, e.g.
pattern=3D"test/impact" and try to serve it, the css is not loaded.

Is there a reason for this? Am I missing something?
I am using cocoon 2.0.4.

Thank you very much for help.

Anna

Reply via email to