Apache-PageKit
view release on metacpan or search on metacpan
docsrc/reference.xml view on Meta::CPAN
server, then you'll need to specify a unique <literal>model_base_class</literal>
for each application.
</para>
<para>
Defaults to <literal>MyPageKit::Common</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.model_dispatch_prefix">
<term>model_dispatch_prefix</term>
<listitem>
<para>
This prefixeds the <link linkend="model.dispatch">Derived Model Classes</link>. Defaults to MyPageKit::MyModel.
</para>
<para>
Methods in this class take an derived Apache::PageKit::Model object as their only argument.
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.not_found_page">
<term>not_found_page</term>
<listitem>
<para>
Error page when page cannot be found. Defaults to <literal><link linkend="config.global.default_page">default_page</link></literal>.
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.page_session">
<term>page_session</term>
<listitem>
<para>
Sets the default for all non static pages.
If set to <emphasis>yes</emphasis>, every non static page gets a unique session.
Defaults to <emphasis>no</emphasis>. This value is overridden with
<literal><link linkend="config.page.page_session">page_session</link></literal>.
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.page_session_class">
<term>page_session_class</term>
<listitem>
<para>
Name for the Module, that is used to create the page_session objects.
Defaults to <emphasis>Apache::SessionX</emphasis>.
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.post_max">
<term>post_max</term>
<listitem>
<para>
Maximum size of file uploads, in bytes. Defaults to 100,000,000 (100 MB).
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.upload_tmp_dir">
<term>upload_tmp_dir</term>
<listitem>
<para>
Temporary directory for file uploads. Defaults to whatever libapreq finds usefull.
This options is only usefull if you use libapreq >= 1.0. The temporary directory
usually needs to reside on the same filesystem as the location supplied to the
upload object's <programlisting>link</programlisting> method. See the Apache::Request
documentation for further information.
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.protect_static">
<term>protect_static</term>
<listitem>
<para>
If set to <emphasis>yes</emphasis> static files can also be protected with the
require_login attribute in the SECTION or PAGE tags.
Set this option to <emphasis>no</emphasis> to be compatible to PageKit < 1.09.
Defaults to <emphasis>yes</emphasis>.
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.recent_login_timeout">
<term>recent_login_timeout</term>
<listitem>
<para>
Seconds that user's session has to be inactive before a user is asked
to verify a password on pages with the <literal><link linkend="config.page.require_login">require_login</link></literal> attribute
set to <emphasis>recent</emphasis>. Defaults to 3600 (1 hour).
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.relaxed_parser">
<term>relaxed_parser</term>
<listitem>
<para>
If set to yes, this option allows template tags to be placed inside
HTML comments. It also permits spaces and newlines within the tag itself.
This option may be useful to HTML authors who would like to validate their
templates' HTML syntax prior to processing, or who use DTD-aware editing
tools.
Defaults to <emphasis>no</emphasis>.
<informalexample>
<programlisting>
relaxed_parser = "yes"
# these tags are all allowed if relaxed_parser is enabled:
<MODEL_VAR NAME="x">
< MODEL_VAR NAME = 'x' >
< MODEL_LOOP NAME = x >
< PKIT_COMPONENT NAME = x />
<!-- MODEL_VAR NAME="x" -->
<!-- CONTENT_VAR NAME = "x" /-->
</programlisting>
</informalexample>
</para>
</listitem>
</varlistentry>
<varlistentry id="config.global.request_param_in_tmpl">
<term>request_param_in_tmpl</term>
<listitem>
<para>
If set to yes, then <literal><link linkend="model.var"><MODEL_VAR></link></literal> tags in template automatically get filled in
with corresponding request parameters across all pages. Can be overriden
( run in 0.635 second using v1.01-cache-2.11-cpan-39bf76dae61 )