Web Proxy portlet ignores custom contextPath

Description

1. Navigate to [bundles]/conf/Catalina/localhost/ and rename ROOT.xml to liferay.xml
2. Open liferay.xml and change <Context path="" crossContext="true"> to <Context path="/liferay" crossContext="true">
3. Rename ROOT folder in [bundles]/webapps to liferay
4. Add the property "portal.ctx=/liferay" to portal-ext.properties
5. Start application server and navigate to http://localhost:8080/liferay
6. Login and add a Web Proxy portlet to the page
7. Configure url to point to a page with images, css files, etc
8. save
9. Pictures cannot be seen and also when you click on an article, it will not redirect you to the right place.

Environment

LIFERAY VERSION: 6.0 SP 2 OPERATING SYSTEM: Windows Server 2008 R2 APPLICATION SERVER: Tomcat 6.x JAVA VIRTUAL MACHINE: Java 6 DATABASE: SQL Server 2008

Activity

Show:

Cynthia WilburnMarch 12, 2012 at 1:58 PM

Reopening to add 6.1.1 CE GA2. Close as Fixed.

Pani GuiJanuary 17, 2012 at 9:03 PM

PASSED Manual Testing following steps in description.

Reproduced on:
Tomcat 6.0 + MySQL 5. 6.0.12 EE.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: d71351efb55a3c21739777827cb95045785aeaa8.

Pictures doesn't show on Web Proxy portlet and when clicking a link, it redirect wrong place and the page is blank.

Fixed on:
Tomcat 6.0 + MySQL 5. 6.0.x GIT ID: 54421ab4413b98a974bd6241ef4a9964d7061e85.
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 253ab6daf4a146a738c4f1015fe3a0135a2b2234.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 20dbb65c18e6b2c50bbd6986c8b3b7078f84e63b.

Web proxy shows pictures and links redirect correct place.

Michael SaechangJanuary 17, 2012 at 4:19 PM

Committed on:
6.0.x GIT ID: 91f61c4b7cbfb937c47ecae591d62e61cdff8c77.
6.1.x GIT ID: 65038401d8de6f4025d2b4964e2b6343a32d0dd6.
6.2.x GIT ID: e9a17e320998db657b4c87a69f9c1f53dca4a249.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Git Pull Request

Components

Affects versions

Priority

Zendesk Support

Created January 11, 2012 at 4:06 PM
Updated June 24, 2023 at 3:45 PM
Resolved March 12, 2012 at 2:43 PM