Fórum
Changing friendlyurl mapping for private pages/layouts with portal property
Pankaj Kathiriya, modificado 8 Anos atrás.
Changing friendlyurl mapping for private pages/layouts with portal property
Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
I am trying to change friendlyurl mapping for private Site pages by changing below property in portal-ext.properties
For Example:
Once, I change this portal property, I am not able to access private pages(e.g /test/sitename/pagename) and it redirect to public pages instead.
Am I missing any addition configuration here? I am using Liferay 6.2sp10.
Please advise.
Thanks
For Example:
layout.friendly.url.private.group.servlet.mapping=/test
Once, I change this portal property, I am not able to access private pages(e.g /test/sitename/pagename) and it redirect to public pages instead.
Am I missing any addition configuration here? I am using Liferay 6.2sp10.
Please advise.
Thanks
Harish Kumar, modificado 8 Anos atrás.
RE: Changing friendlyurl mapping for private pages/layouts with portal prop
Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
Hi Pankaj
In addition to setting property in portal-ext.properties file, I think you have to update the web.xml also match the servlet mapping. have a look at below servlet mapping in web.xml
Regards,
In addition to setting property in portal-ext.properties file, I think you have to update the web.xml also match the servlet mapping. have a look at below servlet mapping in web.xml
<servlet-mapping>
<servlet-name>Friendly URL Servlet - Private Group</servlet-name>
<url-pattern>/group/*</url-pattern>
</servlet-mapping>
Regards,
Pankaj Kathiriya, modificado 8 Anos atrás.
RE: Changing friendlyurl mapping for private pages/layouts with portal prop
Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Thank you Harish ! It worked