Jared Bunting schrieb: > That seems to be about the state of it from what I've been able to > find. But it looks as if, even if I can convince the sitemap to do > it, I'll run into problems in the > > public static Publication getPublicationFromUrl(ServiceManager > manager, DocumentFactory factory, String webappUrl) method of > PublicationUtil. > > From what I can tell, it just assumes that the publication name is in > the url. Is my assumption here correct?
Yes - I'm afraid that you'll enter a world of pain if you try to remove the publication ID from the URL without a proxy. Lenya is built upon the assumption that the URL looks like this. Maybe there is a way to use another servlet as a proxy if you can't change the Apache configuration. -- Andreas > > Thanks, Jared > >>>> Michael Wechner <[EMAIL PROTECTED]> 6/28/2007 4:34 AM >>>> >>> > Jared Bunting wrote: > >> Sorry...meant to include the previous discussion in here... >> >> I'm actually using oracle application server with oracle http >> server ( an apache derivative ) in front. >> >> I think I could work this out with mod_rewrite, but I was hoping to >> find a way to setup lenya to do this. I don't really have much >> control over the apache configurations. >> >> > > you can deploy Lenya within the Root context, but then you still have > the publication and area prefix. > > I think with some customization within the sitemaps you could also > get rid of these too, but not out-of-the box. > > HTH > > Michael > >> Thanks, Jared >> >> >> >>>>> Michael Wechner <[EMAIL PROTECTED]> 6/27/2007 11:42 >>>>> AM >>> >>>>> >>>>> >> Jared Bunting wrote: >> >> >> >>> Greetings, >>> >>> I have a question about mapping my publication. It seems by >>> default in lenya the url is such >>> http://${host}/${publicationName}/ >>> >>> Well, I am trying to figure out a way to get the url for >>> accessing my publication to http://${host}/ - with the >>> publication name configured somewhere. >>> >>> Any thoughts? >>> >>> >>> >>> >> are you using an apache httpd with mod_proxy in front of Tomcat? >> >> HTH >> >> Michael >> >> >> >>> Thanks, Jared >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] For >>> additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >>> >>> >> >> >> > > -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
