On 12/29/05, Rovi <[EMAIL PROTECTED]> wrote: > <solprovider <at> apache.org> writes: > > > (10) If I manually remove menuitem.html to make the url > http://www.domain.com, > > > and press enter, it again goes back to > > > http://www.domain.com/pub/live/index.html > > So the homepage redirects to "/pub/live/index.html", but everything > > else seems to work as desired. > > My guess is it is Lenya doing the redirect, not Apache httpd. > > What happens if you specify the page? > > http://www.domain.com/index.html > > > > If that works, check the match for "no page specified": > > FILE: {pub}/publication-sitemap.xmap > > <map:match pattern="**/"> > > <map:redirect-to uri="/{pub}/live/index.html"/> > > </map:match> > > CHANGE TO: > > <map:redirect-to uri="index.html"/> > Thanks much! > Specifying http://www.domain.com/index.html made it work ok. When I checked > file publication-sitemap.xmap, it already had <map:redirect-to > uri="index.html"/>. But I went ahead and changed it to <map:redirect-to > uri="../../index.html"/> and it works fine now!! > For authoring, clicking on Editor now takes me to > http://www.domain.com:8888/index.html, and changing it manually to > http://www.domain.com:8888/pub/authoring/index.html makes it work now. This is > something I can live with by using a sub-domain to forward directly to it. If > there is any further suggestion you have to make it work perfectly, it would > be great. In any case, I am good to go now. Its a major issue resolved for me, > and thank you so much! :)
Oops. I meant: <map:redirect-to uri="/index.html"/> But if it works, do not break it. Our setup has a separate DNS name and virtual server for authoring. We have an EDIT button (which opens the current page on the other server) in our function menu that appears when a visitor is authenticated and in the Editors Group. It requires changing login.xsp. There is too much code for a post; maybe I will document it sometime. solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
