Jared Bunting wrote:

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?

I am afraid so, but maybe somebody else knows better.

But something like mod_proxy should work quite well.

Cheers

Michael

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]









--
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
[EMAIL PROTECTED], [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to