PlsqlDefaultPage

Specifies the default procedure to call if none is specified in the URL

Syntax:
PlsqlDefaultPage [string]
Default:
[none]
Example:
PlsqlDefaultPage scott.docs.home

Tips for PlsqlDefaultPage

If no PlsqlDefaultPage parameter is specified in the called DAD and the DAD Url is called without a procedure name, you will get a No procedure specified to run warning message if the DADs PlsqlErrorStyle is set to ModplsqlStyle or DebugStyle. If PlsqlErrorStyle is set to ApacheStyle, you will just get a 404 Not found Server error. It is a good practice to specify a PlsqlDefaultPage like schema.package.home and to create a procedure of that name.

Some examples for the PlsqlDefaultPage parameter:

Assume we have two locations specified in our dad.conf: /pls/scott and /pls/adams.

The following table shows some outcomes for a given PlsqlDefaultPage:

ValueResult
docs /pls/scott/docs
/docs /pls/scott/docs
/docs/ /pls/scott/docs/
../adams /pls/adams
../../ Servers index.html
/ a loop!

You can also use Apache / OHS rewrite rules to achieve the same effect.

In older versions, this parameter was called default_page