You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by je...@jakarta.apache.org on 2004/08/25 13:29:20 UTC
[jira] Created: (JS1-513) Use of Absolure URLs prevent Jetspeed from running behind firewall/reverse proxy
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JS1-513
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JS1-513
Summary: Use of Absolure URLs prevent Jetspeed from running behind firewall/reverse proxy
Type: Bug
Status: Unassigned
Priority: Major
Project: Jetspeed
Components:
Aggregation Engine
Layout
Versions:
1.5-dev / CVS
Assignee:
Reporter: Carlo Pascoli
Created: Wed, 25 Aug 2004 4:29 AM
Updated: Wed, 25 Aug 2004 4:29 AM
Environment: Any emvoronment
Description:
Jetspeed builds its URLs using org.apache.jetspeed.util.template.JetspeedLink which exploits the turbine class org.apache.turbine.util.DynamicURI which produces absolute URLs.
(eg <a href="http://localhost:8080/jetspeed/portal/page/default.psml">)
Turbine 2.2 includes also a class org.apache.turbine.util.RelativeDynamicURI which extends DynamicURI and returns absolute URIs.
(eg <a href="/jetspeed/portal/page/default.psml"> )
Jetspeed (v. 1.5) never uses RelativeDynamicURI to builds its own links so when it gets deployed behind a firewall/reverse proxy jetspeed absolute URLs are not addressable on the internet.
Jeetspeed should
- use RelativeDynamicURI to build absolute URI
- the templates' HTML BASE HREFs should return something like:
<base href="http://www.myserver.com/myportal/">
where www.myserver.com would ideally be a config property in JR.props taht can be set to the local hostname (default behaviour) or to the firewall hostname in case jetspeed gets deployed behind a firewall.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org