LPS-44619

LPS-44619 Use path main instead of /c because it accounts for portal.ctx and portal.proxy.path. Backport to ee-6.2.x is already included in https://github.com/brianchandotcom/liferay-plugins-ee/pull/5582