Index: src/README_SITEMAP_REFACTORING.txt =================================================================== --- src/README_SITEMAP_REFACTORING.txt (revision 0) +++ src/README_SITEMAP_REFACTORING.txt (revision 0) @@ -0,0 +1,15 @@ +THIS IS WORK IN PROGRESS. DON'T USE IT FOR ANYTHING OTHER THAN PLAYING. + +known to work: +============== + +index page, +browsing around in authoring +most usecases + +known not to work: +================== + +bxe, +tinymce +requests of the form // (i.e. without a document specified) Index: src/modules/tinymce/sitemap.xmap =================================================================== --- src/modules/tinymce/sitemap.xmap (revision 590722) +++ src/modules/tinymce/sitemap.xmap (working copy) @@ -21,19 +21,6 @@ - - - - - - - - - - - - - @@ -51,16 +38,18 @@ + - + @@ -78,7 +67,6 @@ - @@ -87,7 +75,6 @@ - @@ -97,12 +84,11 @@ + - - Index: src/modules/tinymce/xslt/page2edit.xsl =================================================================== --- src/modules/tinymce/xslt/page2edit.xsl (revision 590722) +++ src/modules/tinymce/xslt/page2edit.xsl (working copy) @@ -12,7 +12,6 @@ textarea into the div#body tag. --> - @@ -24,12 +23,6 @@ the is the document element set by the aggregator. --> - - - Missing contextPath parameter! - Check your tinymce sitemap. - - Missing continuationId parameter! @@ -145,7 +138,6 @@ to the Lenya authoring GUI) to TinyMCE for true WYSIWYG editing */ config['content_css'] = " - /modules/tinymce/css/editor_content.css , Index: src/pubs/default/sitemap.xmap =================================================================== --- src/pubs/default/sitemap.xmap (revision 590738) +++ src/pubs/default/sitemap.xmap (working copy) @@ -18,37 +18,17 @@ - - - - + - @@ -56,21 +36,6 @@ - - - + - - - - - - - - - - - - - - + + - - + - - - - - - - - - - - - - - - - - - + + - + @@ -181,30 +106,27 @@ - - - + + + - - - - + - + - - - - + + + + - + - + - + - - + + - - - - + + + + - + @@ -255,58 +176,18 @@ - - - - - - - - - - - - - + - - - - - - - - - @@ -322,14 +203,14 @@ - + - + - - - - - - - - - - - - - - - - - - - - + - + - + + + + - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + - + @@ -479,22 +291,19 @@ If the action above fails (e.g. the document does not exist), call into the lenyabody pipeline. It will generate a nice document-does-not-exist page for us. --> - + - + - - - Index: src/webapp/global-sitemap.xmap =================================================================== --- src/webapp/global-sitemap.xmap (revision 590728) +++ src/webapp/global-sitemap.xmap (working copy) @@ -20,33 +20,24 @@ - - - - + + + - + - + - - - - - + + - + @@ -56,6 +47,7 @@ + @@ -68,84 +60,43 @@ - - - - - - now - - - + - - - - - - - - + - +--> + + + + + + + + + @@ -177,28 +128,6 @@ - @@ -212,41 +141,22 @@ - - - - - + - + - + + + - + + @@ -257,9 +167,7 @@ - - @@ -272,27 +180,27 @@ - + - + - + - + - + @@ -335,13 +243,6 @@ - - - - - - - @@ -354,9 +255,9 @@ - + - + @@ -406,6 +307,7 @@ + @@ -421,19 +323,23 @@ - + + + + + + - - - + + - + @@ -468,19 +374,24 @@ - - - + + + + + + - + + Index: tools/proxytest/README =================================================================== --- tools/proxytest/README (revision 590722) +++ tools/proxytest/README (working copy) @@ -1,7 +1,14 @@ If you want to play with Lenya in Jetty 6.1.6, please take a look at jetty6.xml and follow the instructions in the comment header. +Running Jetty 6.1.6 is orthogonal to proxy testing; the server configuration +includes both ajp://localhost:8009 and http://localhost:8888, so you can +just drop it in, replacing the old version, without bothering about the +proxy stuff. Please follow up on bug +http://issues.apache.org/bugzilla/show_bug.cgi?id=43729 with success and +problem reports. + *.* @@ -41,5 +48,26 @@ http://www.example.com/lenya/default/authoring/ and http://customer.example.com. -It doesn't quite work as it should, but you get the idea. +It doesn't quite work as it should (redirects from the Lenya servlet are +wrong), but you get the idea. +The proxy example setting simulates the following situation: +* A customer wants a company hostname and URLs without Lenya-specific + path components for the live site. +* The server uses name-based virtual hosting with just one IP, i.e. + there can only be one SSL vhost, which is shared among several + customers. This implies the need for sub-directories in the proxy + URL. +* "authoring" should be ssl-protected. There is no need for a + customer hostname here, since it's not publicly visible. +* Any SSL-protected documents in "live" can be handled by the SSL + vhost (not using the company hostname is ok in this case). + +The desired customer hostname is customer.example.com. +The SSL vhost is called www.example.com. +The Lenya CMS for our customer is reachable as +https://www.example.com/lenya/customer/authoring +The global proxy for non-publication-specific resources shall be +http://www.example.com/lenya. + +