« Torna a Using Liferay

Friendly URLs

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.xml
for 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.mapping
and
layout.friendly.url.public.servlet.mapping
properties in the
portal.properties
file (overwrite them in
portal-ext.properties
.)

Pagine dei bambini

0 Allegati
54304 Visualizzazioni
Media (5 Voti)
La media del punteggio è 2.8 stelle su 5.
Commenti