summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Mason/MESSAGE
blob: c0b39bcfc37a394dcf332bae8401a23b62d43ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
===========================================================================
$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
===========================================================================