You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by brunp <pa...@gmail.com> on 2009/03/25 18:10:02 UTC
Removing Jetspeed Proxyname requirement?
I have an issue. Accessing my site via IP Address is not possible because
once you login, the portlet code replaces the URL with the FQN, or whatever
is listed in "ProxyName" and "ProxyPort" parameters in server.xml
How do I go about removing the proxyname and port parameters allowing me to
surf to the portlett site by IP address? If I do that, then I get an error
and the URL is replaced with: https://127.0.0.1/..../ instead of the
requested IP address.
Is there anyway I can clean this up allowing me to use either FQDN or IP
address.
Please and thanks
Paul
--
View this message in context: http://www.nabble.com/Removing-Jetspeed-Proxyname-requirement--tp22706598p22706598.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Removing Jetspeed Proxyname requirement?
Posted by brunp <pa...@gmail.com>.
I think I have an older version of jetspeed, because the following property
that you speak
of is not present in my configuration file and inserting it does nothing.
I will update jetspeed to the latest binary to see if this resolves the
issue.
Paul
Ate Douma wrote:
>
> brunp wrote:
>> I have an issue. Accessing my site via IP Address is not possible because
>> once you login, the portlet code replaces the URL with the FQN, or
>> whatever
>> is listed in "ProxyName" and "ProxyPort" parameters in server.xml
>>
>> How do I go about removing the proxyname and port parameters allowing me
>> to
>> surf to the portlett site by IP address? If I do that, then I get an
>> error
>> and the URL is replaced with: https://127.0.0.1/..../ instead of the
>> requested IP address.
>>
>> Is there anyway I can clean this up allowing me to use either FQDN or IP
>> address.
> Yes, you can modify this default behavior in
> WEB-INF/conf/jetspeed.properties (or better: use the override.properties
> file for your
> overridden properties and leave jetspeed.properties untouched):
>
> change
> portalurl.relative.only=false
> to
> portalurl.relative.only=true
>
> That'll should do it.
>
> Regards,
>
> Ate
>
> p.s. You didn't specify which version of Jetspeed you are using.
> As the above option has been available for several (Jetspeed-2) versions
> already you should be good, but in general please do specify the
> Jetspeed version for questions like these.
>
>>
>> Please and thanks
>>
>> Paul
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Removing-Jetspeed-Proxyname-requirement--tp22706598p22709810.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Removing Jetspeed Proxyname requirement?
Posted by Ate Douma <at...@douma.nu>.
brunp wrote:
> I have an issue. Accessing my site via IP Address is not possible because
> once you login, the portlet code replaces the URL with the FQN, or whatever
> is listed in "ProxyName" and "ProxyPort" parameters in server.xml
>
> How do I go about removing the proxyname and port parameters allowing me to
> surf to the portlett site by IP address? If I do that, then I get an error
> and the URL is replaced with: https://127.0.0.1/..../ instead of the
> requested IP address.
>
> Is there anyway I can clean this up allowing me to use either FQDN or IP
> address.
Yes, you can modify this default behavior in WEB-INF/conf/jetspeed.properties (or better: use the override.properties file for your
overridden properties and leave jetspeed.properties untouched):
change
portalurl.relative.only=false
to
portalurl.relative.only=true
That'll should do it.
Regards,
Ate
p.s. You didn't specify which version of Jetspeed you are using.
As the above option has been available for several (Jetspeed-2) versions already you should be good, but in general please do specify the
Jetspeed version for questions like these.
>
> Please and thanks
>
> Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org