Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Handling of request header x-forwarded-prefix
Hi,
A non standard request header x-forwarded-prefix exists and provides the request's original base path (i.e. context root), if any. Handling this header would be more elegant than hardcoding this path via the portal property portal.proxy.path as today.
Note that Liferay already support handling of other x-forwarded request headers for the protocol, host and port.
Yours,
Mathieu
Feature Request Created: https://liferay.atlassian.net/browse/LPD-21776
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™