The runtime configuration is done by setting environment variables,
in your web
server's configuration file. Basicly the configuration is the same as
for normal Embperl. All Embperl configuration directives also applies
to EmbperlObject. There are a few addtional configuration directives
listed below. Addtionaly you have to set the PerlHandler to
HTML::EmbperlObject when running under mod_perl or use epocgi.pl
instead of embpcgi.pl when running as CGI Script.
Perl regex which files should be ignored by EmbperlObject
Perl regex which files should be processed by EmbperlObject
Name of the base page to search for
| EMBPERL_OBJECT_STOPDIR | top |
Directory where to stop searching for the base page
| EMBPERL_OBJECT_ADDPATH | top |
Additional directories where to search for pages. Directories are
separated by ; (on Unix : works also). This path is
always appended to the searchpath.
| EMBPERL_OBJECT_FALLBACK | top |
If the requested file is not found the file given by EMBPERL_OBJECT_FALLBACK
is displayed instead. If EMBPERL_OBJECT_FALLBACK isn't set a
staus 404, NOT_FOUND is returned as usual. If the fileame given in
EMBPERL_OBJECT_FALLBACK doesn't contain a path, it is searched thru the same
directories as EMBPERL_OBJECT_BASE.
| EMBPERL_OBJECT_HANDLER_CLASS | top |
If you specify this call the template base and the requested page inherit all
methods from this class. This class must contain HTML::Embperl::Req in his
@ISA array.
|