Home : Documentation : 1.3.6 documentation : HTML::EmbperlObject
Google Web perl.apache.org

 
Home
 
Features
 
Introduction
 
Documentation
 
README
 
README.v2
 
Configuration
 
Embperl
 
Embperl::Object
 
Embperl::Form::Validate
 
Embperl::Syntax
 
Embperl::Recipe
 
Embperl::Mail
 
1.3.6 documentation
 
HTML::Embperl
 
HTML::EmbperlObject
 
HTML::Embperl::Mail
 
HTML::Embperl::Session
 
Tips & Tricks
 
FAQ
 
DBIx::Recordset
 
Installation
 
Download
 
Support
 
Changes
 
Wiki
 
More infos
 
Add info about Embperl
 
Login

    Stable 2.4.0
    Beta 2.5.0_3
Support the development of Embperl! More...
Runtime configuration
[ << Prev: DESCRIPTION ] [ Content ] [ Next: Execute >> ]

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.



EMBPERL_DECLINEtop

Perl regex which files should be ignored by EmbperlObject



EMBPERL_FILESMATCHtop

Perl regex which files should be processed by EmbperlObject



EMBPERL_OBJECT_BASEtop

Name of the base page to search for



EMBPERL_OBJECT_STOPDIRtop

Directory where to stop searching for the base page



EMBPERL_OBJECT_ADDPATHtop

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_FALLBACKtop

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_CLASStop

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.


[ << Prev: DESCRIPTION ] [ Content ] [ Next: Execute >> ]

© 1997-2012 Gerald Richter / ecos gmbh