Author: chestnut
Date: Wed Jul 13 09:15:24 2005
New Revision: 216180
URL: http://svn.apache.org/viewcvs?rev=216180&view=rev
Log:
shouldn't use fallback protocol when looking at document content
Modified:
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap
Modified:
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap
URL:
http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap?rev=216180&r1=216179&r2=216180&view=diff
==============================================================================
---
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap
(original)
+++
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap
Wed Jul 13 09:15:24 2005
@@ -142,11 +142,11 @@
<map:act type="set-header">
<map:parameter name="Last-Modified"
value="{page-envelope:document-lastmodified}" />
<map:match pattern="GET/*_*.html">
- <map:generate
src="fallback://content/authoring/{1}/index_{2}.xml"/>
+ <map:generate
src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{2}.xml"/>
<map:serialize type="xml-get"/>
</map:match>
<map:match pattern="GET/**/*_*.html">
- <map:generate
src="fallback://content/authoring/{1}/{2}/index_{3}.xml"/>
+ <map:generate
src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/{2}/index_{3}.xml"/>
<map:serialize type="xml-get"/>
</map:match>
</map:act>
@@ -154,14 +154,14 @@
<map:match pattern="PROPFIND/**.html">
<map:match pattern="PROPFIND/*_*.html">
- <map:act type="resource-exists"
src="fallback://content/authoring/{1}/index_{2}.xml">
+ <map:act type="resource-exists"
src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{2}.xml">
<map:call function="filePropfind" >
<map:parameter name="last-modified"
value="{page-envelope:document-lastmodified}"/>
</map:call>
</map:act>
</map:match>
<map:match pattern="PROPFIND/**/*_*.html">
- <map:act type="resource-exists"
src="fallback://content/authoring/{1}/{2}/index_{3}.xml">
+ <map:act type="resource-exists"
src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/{2}/index_{3}.xml">
<map:call function="filePropfind" >
<map:parameter name="last-modified"
value="{page-envelope:document-lastmodified}"/>
</map:call>
@@ -184,7 +184,7 @@
<map:match pattern="HEAD/**.html">
<map:match pattern="HEAD/*_*.html">
- <map:act type="resource-exists"
src="fallback://content/authoring/{1}/index_{2}.xml">
+ <map:act type="resource-exists"
src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{2}.xml">
<map:act type="set-header">
<map:parameter name="Last-Modified"
value="{page-envelope:document-lastmodified}" />
<map:call function="filePropfind" />
@@ -192,7 +192,7 @@
</map:act>
</map:match>
<map:match pattern="HEAD/**/*_*.html">
- <map:act type="resource-exists"
src="fallback://content/authoring/{1}/{2}/index_{3}.xml">
+ <map:act type="resource-exists"
src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/{2}/index_{3}.xml">
<map:act type="set-header">
<map:parameter name="Last-Modified"
value="{page-envelope:document-lastmodified}" />
<map:call function="filePropfind" />
|