stefano 2003/03/01 06:55:18
Modified: src/webapp sitemap.xmap Log: more docs and added OS-based user directories (please check macosx location since I don't remember exactly where user public_html equivalent is) Revision Changes Path 1.90 +18 -2 xml-cocoon2/src/webapp/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- sitemap.xmap 22 Feb 2003 15:00:50 -0000 1.89 +++ sitemap.xmap 1 Mar 2003 14:55:18 -0000 1.90 @@ -376,9 +376,22 @@ <map:read src="resources/images/cocoon.ico"/> </map:match> - <!-- mount user directories --> + <!--+ + | mount user directories + | + | The location of user directories depends heavily on the operating + | system used. Uncomment the one below that suits your environment. + | + | NOTE: you might want to comment out the entire section for a + | production environment. + +--> <map:match pattern="~*/**"> + <!-- unix --> <map:mount check-reload="yes" src="/home/{1}/public_html/" uri-prefix="~{1}"/> + <!-- macosx --> + <!--map:mount check-reload="yes" src="/Users/{1}/public_html/" uri-prefix="~{1}"/--> + <!-- win32 --> + <!--map:mount check-reload="yes" src="/Documents and Settings/{1}/My Documents/My Website" uri-prefix="~{1}"/--> </map:match> <!--+ @@ -395,7 +408,10 @@ <map:redirect-to uri="{0}/"/> </map:match> - <!-- mount everything else --> + <!--+ + | Mount everything else by calling the sitemap.xmap file located + | in the requested folder. + +--> <map:match pattern="*/**"> <map:mount check-reload="yes" src="{1}/" uri-prefix="{1}"/> </map:match>