mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
26 lines
1018 B
Plaintext
26 lines
1018 B
Plaintext
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.2 2008/07/22 21:41:55 rhaen Exp $
|
|
|
|
In order to use HTML::Mason with mod_perl and Apache you have to create
|
|
the "data directory" (aka data_dir), which is used by Mason for various
|
|
features and optimizations, and change your web server configuration
|
|
accordingly.
|
|
The data directory must be writable by the user account specified for the
|
|
Apache process in your httpd.conf file.
|
|
|
|
As an example, if you use "/var/mason" as your data directory you have
|
|
to add the following line to httpd.conf:
|
|
|
|
PerlSetVar MasonDataDir /var/mason
|
|
|
|
For more details, have a look at the "Mason Administrator's Manual" at
|
|
http://www.masonhq.com/.
|
|
|
|
|
|
It's also possible to use HTML::Mason with lighttpd and FastCGI. There
|
|
is a recipe for it in the Trac system of lighttpd. For more details,
|
|
have a look at the recipe at
|
|
|
|
http://trac.lighttpd.net/trac/wiki/MasonRecipe
|
|
===========================================================================
|