Combination View Flat View Tree View
Threads [ Previous | Next ]
Robin Bakker
breadcrumbs/virtualhost - how to remove port specification?
April 11, 2012 8:40 PM
Answer

Robin Bakker

Rank: New Member

Posts: 5

Join Date: October 4, 2011

Recent Posts

Im hoping for some suggestions for this scenario.

Webserver is running on 8080
Entered a dns name for the virtualhost e.g. liferay.asurequality.com

The problem being is the breadcrumbs link that is displayed when opening a liferay page is postfixed with the port that liferay is running on (8080).
Normally when a user accesses the system he would use the url liferay.asurequality.com (no port=port80). This request is handled by NAM and the request gets ported to the webserver on port 8080.
Because the display link shows liferay.asurequality.com:8080 the request gets blocked by NAM (because NAM does not recognise the call on 8080 as valid).

Is there anyway i cant stop liferay from adding its port to the displayed URL?

So far ive thought of,
-changing the web server to port 80 (not really desirable)
-hacking liferay class that is adding the port onto the displayed link

Suggestions welcome....
David H Nebinger
RE: breadcrumbs/virtualhost - how to remove port specification?
April 11, 2012 8:49 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 4496

Join Date: September 1, 2006

Recent Posts

use web.server.http.port=80 in portal-ext.properties.
Robin Bakker
RE: breadcrumbs/virtualhost - how to remove port specification?
April 12, 2012 3:56 PM
Answer

Robin Bakker

Rank: New Member

Posts: 5

Join Date: October 4, 2011

Recent Posts

Tested and confimed.
Thank you, this was exactly what i was looking for.