You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Gaurav Kalia <ga...@techblue.co.uk> on 2009/05/26 11:39:12 UTC
URL Proxying in lenya 2.0.2
Hi All
I am facing a problem in URL proxying.
The URL proxying is working fine in the website except the tabs.
When ever i click on one of the tabs for example test it shows this URL
http://mydomain.co.uk/myproject/mypubs/live/test.html
I have created a link on the home page which directs to test page,
in this case the URL shown is
http://mydomain.co.uk/test.html
Which is perfectly fine.
I am using mod_proxy AJP.
Lenya 2.0.2
Tomcat 5.5.27
Please Suggest
Regards
Gaurav
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: URL Proxying in lenya 2.0.2
Posted by Vik Tara <vi...@propco.co.uk>.
Hi Gaurav,
Looks like it could be that the tabs are not producing completely
relative links?
Have a look at the sitetree module - it uses somthing like this to
generate the links:
> <map:transformer logger="lenya.sitemap.transformer.uuid2url" name="uuid2url-sitetree"
> src="org.apache.lenya.cms.cocoon.transformation.UuidToUrlTransformer">
I only had a very quick look though!
Regards
Vik
Gaurav Kalia wrote:
> Hi All
>
> I am facing a problem in URL proxying.
> The URL proxying is working fine in the website except the tabs.
> When ever i click on one of the tabs for example test it shows this URL
>
> http://mydomain.co.uk/myproject/mypubs/live/test.html
>
> I have created a link on the home page which directs to test page, in
> this case the URL shown is
>
> http://mydomain.co.uk/test.html
>
> Which is perfectly fine.
>
> I am using mod_proxy AJP.
> Lenya 2.0.2 Tomcat 5.5.27
>
> Please Suggest
>
> Regards
> Gaurav
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: URL Proxying in lenya 2.0.2
Posted by Vik Tara <vi...@propco.co.uk>.
> I don't think it does right now.
Silly me, it's on page 1!!:
http://lenya.us.apache.org/docu20/tutorials/proxy/proxying.html
Vik Tara wrote:
> Hi All,
>
>>> I have done two changes: -
>>>
>>> 1. In publication.xml, i have modified the proxy setting according to my
>>> domain.
>>> 2. In globalproxies.conf, done the same thing here as well.
>
> Shouldn't the lenya mod_proxy documentation cover this?
>
> I don't think it does right now.
>
> Vik
>
> Gaurav Kalia wrote:
>> Hi
>>
>> The problem is solved, to hide this part of URL
>>
>> /myproject/mypubs/live/
>>
>> I have done two changes: -
>>
>> 1. In publication.xml, i have modified the proxy setting according to my
>> domain.
>> 2. In globalproxies.conf, done the same thing here as well.
>>
>> Now the URL is coming fine.
>>
>> Regards
>> Gaurav
>>
>>
>>
>> Gaurav Kalia wrote:
>>> Andreas Hartmann wrote:
>>>> Andreas Hartmann schrieb:
>>>>> Hi Gaurav,
>>>>>
>>>>> Gaurav Kalia schrieb:
>>>>>> Hi All
>>>>>>
>>>>>> I am facing a problem in URL proxying.
>>>>>> The URL proxying is working fine in the website except the tabs.
>>>>>> When ever i click on one of the tabs for example test it shows this
>>>>>> URL
>>>>>>
>>>>>> http://mydomain.co.uk/myproject/mypubs/live/test.html
>>>>> I just started my Lenya 2.0.2, but can't confirm the issue with the
>>>>> default publication. Do you use a custom mechanism or stylesheet to
>>>>> generate the tab navigation?
>>>>>
>>>>> I'm using Jetty without a context prefix, though – maybe the issue
>>>>> is related to the non-empty context prefix …
>>>> No, it works for me also with a non-empty context prefix.
>>>>
>>>> -- Andreas
>>>>
>>>>
>>>>
>>> Sorry but its not working for me.
>>>
>>> In the default publication there is a link on the homepage tutorial in
>>> the paragraph.
>>> Its also shown as:
>>>
>>> /myproject/mypubs/live/tutorial.html
>>>
>>> How can i hide /myproject/mypubs/live/ in the URL proxying.
>>>
>>> Regards
>>> Gaurav
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: URL Proxying in lenya 2.0.2
Posted by Vik Tara <vi...@propco.co.uk>.
Hi All,
>> I have done two changes: -
>>
>> 1. In publication.xml, i have modified the proxy setting according to my
>> domain.
>> 2. In globalproxies.conf, done the same thing here as well.
Shouldn't the lenya mod_proxy documentation cover this?
I don't think it does right now.
Vik
Gaurav Kalia wrote:
> Hi
>
> The problem is solved, to hide this part of URL
>
> /myproject/mypubs/live/
>
> I have done two changes: -
>
> 1. In publication.xml, i have modified the proxy setting according to my
> domain.
> 2. In globalproxies.conf, done the same thing here as well.
>
> Now the URL is coming fine.
>
> Regards
> Gaurav
>
>
>
> Gaurav Kalia wrote:
>> Andreas Hartmann wrote:
>>> Andreas Hartmann schrieb:
>>>> Hi Gaurav,
>>>>
>>>> Gaurav Kalia schrieb:
>>>>> Hi All
>>>>>
>>>>> I am facing a problem in URL proxying.
>>>>> The URL proxying is working fine in the website except the tabs.
>>>>> When ever i click on one of the tabs for example test it shows this
>>>>> URL
>>>>>
>>>>> http://mydomain.co.uk/myproject/mypubs/live/test.html
>>>>
>>>> I just started my Lenya 2.0.2, but can't confirm the issue with the
>>>> default publication. Do you use a custom mechanism or stylesheet to
>>>> generate the tab navigation?
>>>>
>>>> I'm using Jetty without a context prefix, though – maybe the issue
>>>> is related to the non-empty context prefix …
>>>
>>> No, it works for me also with a non-empty context prefix.
>>>
>>> -- Andreas
>>>
>>>
>>>
>> Sorry but its not working for me.
>>
>> In the default publication there is a link on the homepage tutorial in
>> the paragraph.
>> Its also shown as:
>>
>> /myproject/mypubs/live/tutorial.html
>>
>> How can i hide /myproject/mypubs/live/ in the URL proxying.
>>
>> Regards
>> Gaurav
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: URL Proxying in lenya 2.0.2
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
Hi
The problem is solved, to hide this part of URL
/myproject/mypubs/live/
I have done two changes: -
1. In publication.xml, i have modified the proxy setting according to my
domain.
2. In globalproxies.conf, done the same thing here as well.
Now the URL is coming fine.
Regards
Gaurav
Gaurav Kalia wrote:
> Andreas Hartmann wrote:
>> Andreas Hartmann schrieb:
>>> Hi Gaurav,
>>>
>>> Gaurav Kalia schrieb:
>>>> Hi All
>>>>
>>>> I am facing a problem in URL proxying.
>>>> The URL proxying is working fine in the website except the tabs.
>>>> When ever i click on one of the tabs for example test it shows this
>>>> URL
>>>>
>>>> http://mydomain.co.uk/myproject/mypubs/live/test.html
>>>
>>> I just started my Lenya 2.0.2, but can't confirm the issue with the
>>> default publication. Do you use a custom mechanism or stylesheet to
>>> generate the tab navigation?
>>>
>>> I'm using Jetty without a context prefix, though – maybe the issue
>>> is related to the non-empty context prefix …
>>
>> No, it works for me also with a non-empty context prefix.
>>
>> -- Andreas
>>
>>
>>
> Sorry but its not working for me.
>
> In the default publication there is a link on the homepage tutorial in
> the paragraph.
> Its also shown as:
>
> /myproject/mypubs/live/tutorial.html
>
> How can i hide /myproject/mypubs/live/ in the URL proxying.
>
> Regards
> Gaurav
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: URL Proxying in lenya 2.0.2
Posted by sac sha <sa...@gmail.com>.
Hi Gaurav
I am also facing same problem.
The issue is I am not able to hide the absolute url or somehow it is passing
through from AJP mod proxy.
Any help will be great.
Regards
Sac
On Tue, May 26, 2009 at 7:59 PM, Gaurav Kalia
<ga...@techblue.co.uk>wrote:
> Andreas Hartmann wrote:
>
>> Andreas Hartmann schrieb:
>>
>>> Hi Gaurav,
>>>
>>> Gaurav Kalia schrieb:
>>>
>>>> Hi All
>>>>
>>>> I am facing a problem in URL proxying.
>>>> The URL proxying is working fine in the website except the tabs.
>>>> When ever i click on one of the tabs for example test it shows this URL
>>>>
>>>> http://mydomain.co.uk/myproject/mypubs/live/test.html
>>>>
>>>
>>> I just started my Lenya 2.0.2, but can't confirm the issue with the
>>> default publication. Do you use a custom mechanism or stylesheet to generate
>>> the tab navigation?
>>>
>>> I'm using Jetty without a context prefix, though – maybe the issue is
>>> related to the non-empty context prefix …
>>>
>>
>> No, it works for me also with a non-empty context prefix.
>>
>> -- Andreas
>>
>>
>>
>> Sorry but its not working for me.
>
> In the default publication there is a link on the homepage tutorial in the
> paragraph.
> Its also shown as:
>
> /myproject/mypubs/live/tutorial.html
>
> How can i hide /myproject/mypubs/live/ in the URL proxying.
>
> Regards
> Gaurav
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
Re: URL Proxying in lenya 2.0.2
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
Andreas Hartmann wrote:
> Andreas Hartmann schrieb:
>> Hi Gaurav,
>>
>> Gaurav Kalia schrieb:
>>> Hi All
>>>
>>> I am facing a problem in URL proxying.
>>> The URL proxying is working fine in the website except the tabs.
>>> When ever i click on one of the tabs for example test it shows this URL
>>>
>>> http://mydomain.co.uk/myproject/mypubs/live/test.html
>>
>> I just started my Lenya 2.0.2, but can't confirm the issue with the
>> default publication. Do you use a custom mechanism or stylesheet to
>> generate the tab navigation?
>>
>> I'm using Jetty without a context prefix, though – maybe the issue is
>> related to the non-empty context prefix …
>
> No, it works for me also with a non-empty context prefix.
>
> -- Andreas
>
>
>
Sorry but its not working for me.
In the default publication there is a link on the homepage tutorial in
the paragraph.
Its also shown as:
/myproject/mypubs/live/tutorial.html
How can i hide /myproject/mypubs/live/ in the URL proxying.
Regards
Gaurav
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: URL Proxying in lenya 2.0.2
Posted by Andreas Hartmann <an...@apache.org>.
Andreas Hartmann schrieb:
> Hi Gaurav,
>
> Gaurav Kalia schrieb:
>> Hi All
>>
>> I am facing a problem in URL proxying.
>> The URL proxying is working fine in the website except the tabs.
>> When ever i click on one of the tabs for example test it shows this URL
>>
>> http://mydomain.co.uk/myproject/mypubs/live/test.html
>
> I just started my Lenya 2.0.2, but can't confirm the issue with the
> default publication. Do you use a custom mechanism or stylesheet to
> generate the tab navigation?
>
> I'm using Jetty without a context prefix, though – maybe the issue is
> related to the non-empty context prefix …
No, it works for me also with a non-empty context prefix.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: URL Proxying in lenya 2.0.2
Posted by Andreas Hartmann <an...@apache.org>.
Hi Gaurav,
Gaurav Kalia schrieb:
> Hi All
>
> I am facing a problem in URL proxying.
> The URL proxying is working fine in the website except the tabs.
> When ever i click on one of the tabs for example test it shows this URL
>
> http://mydomain.co.uk/myproject/mypubs/live/test.html
I just started my Lenya 2.0.2, but can't confirm the issue with the
default publication. Do you use a custom mechanism or stylesheet to
generate the tab navigation?
I'm using Jetty without a context prefix, though – maybe the issue is
related to the non-empty context prefix …
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org