
« 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.)
子ページ
54305 参照数