This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. « Voltar para Using Liferay
Friendly URLs
Table of Contents [-]
Introduction #
A "friendly URL" is one that calls the portal system using an end user friendly URL instead of one that contains a lot of parameters and is more machine derived. Friendly URLs are served by
com.liferay.portal.servlet.FriendlyURLServlet, which is configured in
WEB-INF/web.xmlfor both public and private URLs.
More Info #
The default public friendly URL is a request that starts with
/web/*(as opposed to the normal
/c/*which calls the
MainServlet.) A private URL starts with
/group/*. These can be configured by changing the servlet mapping in
web.xml, as well as
layout.friendly.url.private.servlet.mappingand
layout.friendly.url.public.servlet.mappingproperties in the
portal.propertiesfile (overwrite them in
portal-ext.properties.)
Páginas descendentes
54633 Visualizações