I have tried everything to gain control over the favicons in lenya with no success. The normal masking behaviour per publication has not worked, and I have followed the instructions here : http://markmail.org/message/37zfk5pxa6wevhvt#query:+page:1+mid:37zfk5pxa6wevhvt+state:results with no success basically I added <link rel="SHORTCUT ICON" type="image/x-icon" href="{$root}/images/colet.ico"/> to the publication page2xhtml.xsl and added <map:match pattern="*/*/**colet.ico"> <map:read src="pubs/{1}resources/shared/favicon.ico" mime-type="image/x-icon"/> </map:match> to resources-shared.xconf This is the output: at <map:read> - file:///home/emyr/workspace/lenya-2.0.4/build/lenya/webapp/lenya/resources-shared.xmap:151:91 at <map:mount> - file:///home/emyr/workspace/lenya-2.0.4/build/lenya/webapp/global-sitemap.xmap:314:127 at <map:mount> - file:///home/emyr/workspace/lenya-2.0.4/build/lenya/webapp/sitemap.xmap:681:106java.io.FileNotFoundException: /home/emyr/workspace/lenya-2.0.4/build/lenya/webapp/resources/shared/favicon.ico (No such file or directory)full exception chain stacktraceorg.apache.cocoon.ResourceNotFoundException: Error during resolving of the input stream at <map:read> - file:///home/emyr/workspace/lenya-2.0.4/build/lenya/webapp/lenya/resources-shared.xmap:151:91 at <map:mount> - file:///home/emyr/workspace/lenya-2.0.4/build/lenya/webapp/global-sitemap.xmap:314:127 at <map:mount> - file:///home/emyr/workspace/lenya-2.0.4/build/lenya/webapp/sitemap.xmap:681:106 at org.apache.cocoon.components.source.SourceUtil.handle(SourceUtil.java:472)
The new map:read element is at resources-shared.xmap line 151, and that is plainly where the trouble lies - it is falling through to look for the favicon elsewhere. I don't understand why this map could not use the fallback URL as is used elsewhere, and why it can find the lenya.ico but not my colet.ico. We intend to use lenya for a number of websites where identity is very important, so the favicon control is something we _must_ have. I have also looked at http://lenya.apache.org/docu20/standardmodules/resourcemodulesection/resourcemoduleoverview.html#N10085 , and at the Wyona website, but there is nothing there to say how to make them directly addressable as part of a publication. Any help much appreciated, regards Emyr Tomos Gambit Research --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@lenya.apache.org For additional commands, e-mail: user-h...@lenya.apache.org