Apache-Wombat
view release on metacpan or search on metacpan
conf/server.xml.PL view on Meta::CPAN
<!--
<Connector className="Apache::Wombat::Connector"
scheme="https" secure="1"/>
-->
<!--
An Engine is the highest level container; it processes every
request. The Engine inspects the HTTP Host header and passes the
request along to the appropriate Host (virtual host).
The defaultHost attribute should be be the same value as the Apache
ServerName.
-->
<Engine name="Apache-Wombat"
defaultHost="localhost">
<!--
Unless overridden in a lower level Container, all log messages will be
handled by this Logger, which writes to the Apache ErrorLog.
The level attribute is usually set to INFO for a production server.
If you wish, you can try the experimental FileLogger support by
commenting out the first Logger and uncommenting the second one. Note
that this Logger is known to crash Apache.
-->
<Logger className="Apache::Wombat::Logger"
level="DEBUG"/>
<!--
<Logger className="Apache::Wombat::FileLogger"
filename="$Apache::Wombat::cfg::logfile"
level="DEBUG"/>
-->
<!--
All Applications within this Engine will share the following Realm
unless it is overridden. The Realm may be enabled by configuring the
driver, connection, and schema information and uncommenting the
definition.
-->
<!--
<Realm className="Wombat::Realm::DBIRealm"
driverName="mysql"
connectionName="test"
connectionPassword="test"
connectionURL="database=test"
roleNameCol="rolename"
userCredCol="password"
userNameCol="username"
userRoleTable="user_roles"
userTable="users"/>
-->
<!--
All Applications within this Engine will share the following
SessionManager unless it is overridden. Note that the SessionManager
is not persistent and that a different session will be used for each
Application (single signon is not supported).
The maxInactiveInterval attribute specifies the number of seconds
after which an idle session is timed out (invalidated).
The cacheClass attribute specifies the name of the Cache::Cache implementation
class to use for the session cache.
-->
<SessionManager maxInactiveInterval="300"
cacheClass="Cache::SharedMemoryCache"
className="Wombat::SessionManager::StandardSessionManager"/>
<!--
The default Host is used to handle requests for which the host
specified in the HTTP Host header is not configured. The Host inspects
the request URI and passes the request along to the appropriate
Application.
The name attribute should be be the same value as the Apache
ServerName.
The appBase attribute should either be specified as an absolute path
or relative to the Wombat installation directory. For example, if
Wombat is installed into /usr/local/wombat and the host's applications
are installed into /usr/local/wombat/webapps, then a value of
"webapps" is sufficient. However, if the host's applications are
installed into /usr/local/webapps, then the value of appBase must be
specified as "/usr/local/webapps".
-->
<Host name="localhost"
appBase="$Apache::Wombat::cfg::webappdir">
<!--
The Examples Application is distributed in the wombat-webapps
package. The Application inspects the request URI and passes the
request along to the appropriate Servlet.
The path attribute is specified as the URI base for this
Application. This value will be used as the Servlet API's context
path.
The docBase attribute should either be specified as an absolute path
or relative to the containing Host's appBase. The Application's
deployment descriptor is located in the WEB-INF subdirectory of the
docBase directory.
-->
<Application displayName="Example Application"
path="/wombat-examples"
docBase="examples"/>
</Host>
</Engine>
</Service>
</Server>
!GROK!THIS!
( run in 2.049 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )