PlsqlPathAlias
Specifies a virtual path alias to map to a procedure call. This is application specific. e.g. Oracle Portal sets this to url
which means that all URL's of
type /pls/myapp/url/*
are handled as special URL's and handed off to a specific procedure as configured by PlsqlPathAliasProcedure
(see below)
- Syntax:
- PlsqlPathAlias [string]
- Default:
- [none]
- Example:
- PlsqlPathAlias url
Tips for PlsqlPathAlias
The following configuration parameters in the OHS mod_plsql DAD are used for Path Aliasing:
PlsqlPathAlias
PlsqlPathAliasProcedure
For example, if the configuration for these parameters in a DAD is as follows:
PlsqlPathAlias doc
PlsqlPathAliasProcedure scott.show_document
then all calls to an URL having the keyword doc
immediately following the DAD location will invoke the procedure
scott.show_document
. This procedure needs one defined argument of type varchar2
called p_path
.
This argument will receive everything (except a trailing slash) following the keyword used in PlsqlPathAlias
.
A call to server:port/pls/DAD/doc/A4918/pets.jpeg
will invoke scott.show_document
and
this procedure will receive A4918/pets.jpeg
as the p_path
argument.
If your application does not use Path Aliasing, this parameter may be omitted
In older versions, this parameter was called pathalias