First of all I checked the requested sitemap URI for the login.jx: usecases-view/nomenu/modules/acusecases/usecases/login.jx
After that I created \build\lenya\webapp\lenya\modules\acusecases\sitemap.xmap config for this request: <?xml version="1.0" encoding="UTF-8" ?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <map:pipelines> <map:pipeline type="noncaching"> <map:match pattern="**.jx"> <map:act type="set-header"> <map:parameter name="Cache-Control" value="pre-check=0" /> <map:parameter name="Expires" value="-1" /> </map:act> </map:match> </map:pipeline> </map:pipelines> </map:sitemap> And added mount of this config to \build\lenya\webapp\global-sitemap.xmap : <map:pipeline internal-only="true"> <map:match pattern="modules/*/**"> <map:mount uri-prefix="modules/{1}/" src="{fallback:lenya/modules/{1}/sitemap.xmap}" check-reload="true" reload-method="synchron"/> </map:match> <map:match pattern="*/modules/*/**"> <map:mount uri-prefix="{1}/modules/{2}/" src="{fallback:lenya/modules/{2}/sitemap.xmap}" check-reload="true" reload-method="synchron"/> </map:match> + <map:match pattern="usecases-view/**.jx"> + <map:mount uri-prefix="usecases-view/acusecases/" src="{fallback:lenya/modules/acusecases/sitemap.xmap}" check-reload="true" reload-method="synchron"/> + </map:match> </map:pipeline> + <map:pipeline> + <map:match pattern="usecases-view/**.jx"> + <map:mount uri-prefix="usecases-view/acusecases/" src="{fallback:lenya/modules/acusecases/sitemap.xmap}" check-reload="true" reload-method="synchron"/> + </map:match> + </map:pipeline> But there still no "Cache-Control" header for the login.jx page. Why settings do not work? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
