Re: Question about proxy transformer

Petteri Sulonen <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
Thank you, worked like a charm. Sorry I missed that document. You've
been very helpful!

/Petteri

On Sat, Feb 20, 2010 at 11:17 PM, Richard Frovarp <[email protected]> wrote:
> On 2/20/2010 11:40 AM, Petteri Sulonen wrote:
>>
>> Hi again --
>>
>> I'm almost done here, but hit another little snag that I'm too stupid
>> to figure out by myself.
>>
>> I've now got Lenya running under Jetty. I've hooked up Jetty to Apache
>> 2 with mod_proxy_http. Everything works fine if I do a ProxyPass from
>> /lenya to http://locahost:8080/lenya.
>>
>> However, I'd like to shorten the URL's for my website. The path to my
>> publication's live home page is now /lenya/hzc/live/index.html, and
>> I'd like to shorten that to /hzc/index.html. So I set another
>> ProxyPass mapping /hzc to http://localhost:8080/lenya/hzc/live . That
>> works too.
>>
>> Trouble is, the links on my pages still point to /lenya/hzc/live/*
>> instead of /hzc/*. I added a<map:parameter name="urls"
>> value="relative"/>  to the<map:transform type="proxy">  in the
>> publication sitemap serving the pages, but that didn't change
>> anything. Help?
>>
>> Thanks again,
>>
>> /Petteri
>
> You need to setup proxying inside of lenya. You can either modify the files,
> or there is a way to do it from the admin interface, presuming you can get
> to it.
>
> http://lenya.apache.org/docu20/tutorials/proxy/proxying.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.