Message Boards
Change the context of the portal
Julien Nart, modified 6 Years ago.
Change the context of the portal
New Member Posts: 12 Join Date: 12/30/16 Recent Posts
Hello,
I configured a proxy that will show the portal on "/portal" instead of the root url.
I added the property portal.proxy.path in my portal-ext.properties file:
I can see the portal with my portlets, but I found that there is a issue with the aui taglib:
I saw that it's a closed issue but i'm still getting the error... (https://issues.liferay.com/browse/LPS-69384)
In commentary of the portal.proxy.path property, i can see that "a prefix needs to be added to the portal servlet context path".
Does anyone know how and where I could do that ?
I tried multiple old solutions (by modifying jboss-web.xml, renaming the ROOT folder in tomcat, renaming the context-root to my /portal context, adding the /portal in the path of the context tag of the freshly created portal.xml, ...), nothing works and I do not find a recent solution.
Thanks!
For info: I use the Liferay 7.0.2 GA3
I configured a proxy that will show the portal on "/portal" instead of the root url.
I added the property portal.proxy.path in my portal-ext.properties file:
portal.proxy.path=/portal
I can see the portal with my portlets, but I found that there is a issue with the aui taglib:
Unable to find /html/taglib/aui/a/start.jsp in the context /. You must not use a taglib from a module and set the attribute "servletContext". Inline the content directly where the taglib is invoked.
I saw that it's a closed issue but i'm still getting the error... (https://issues.liferay.com/browse/LPS-69384)
In commentary of the portal.proxy.path property, i can see that "a prefix needs to be added to the portal servlet context path".
Does anyone know how and where I could do that ?
I tried multiple old solutions (by modifying jboss-web.xml, renaming the ROOT folder in tomcat, renaming the context-root to my /portal context, adding the /portal in the path of the context tag of the freshly created portal.xml, ...), nothing works and I do not find a recent solution.
Thanks!
For info: I use the Liferay 7.0.2 GA3
Viththal Joshi, modified 6 Years ago.
RE: Change the context of the portal
New Member Posts: 6 Join Date: 8/28/13 Recent Posts
Hi Nart, even I was also having this requirement in my application. I have followed this.
Liferay on non root context
Run liferay on non root context
Liferay on non root context
Run liferay on non root context
Alfonso Crisci, modified 6 Years ago.
RE: Change the context of the portal
Regular Member Posts: 136 Join Date: 4/2/14 Recent Posts
Hi,
Just a note,
Has been removed as of https://issues.liferay.com/browse/LPS-36056 ( 6.2.0 CE M6 )
Just a note,
portal.ctx=
Has been removed as of https://issues.liferay.com/browse/LPS-36056 ( 6.2.0 CE M6 )