Initial import
[hcoop/zz_old/domtool.git] / src / apache / config.sample.sml
1 (*
2 Domtool (http://hcoop.sf.net/)
3 Copyright (C) 2004 Adam Chlipala
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *)
19
20 (* Some options you might want to change *)
21
22 structure ApacheConfig =
23 struct
24 val logDir = "/var/log/apache/"
25 (* Where Apache writes log files *)
26
27 val wblConfDir = "/etc/webalizer"
28 (* Directory containing Webalizer .conf files *)
29
30 val wblDocDir = "/var/www/users.hcoop.net/html/webalizer"
31 (* Directory to use for outputting Webalizer results *)
32
33 val passwdFile = "/etc/apache/passwds"
34 (* Default system web password file *)
35
36 val defaultUser = "www-data"
37 (* Default UNIX user to allow a vhost to run as *)
38
39 val defaultGroup = "www-data"
40 (* Default UNIX group to allow a vhost to run as *)
41
42 val dataFile = "/etc/apache/vhosts.conf"
43 (* Location of real vhosts configuration file *)
44
45 val pubCommand = "/etc/init.d/apache reload"
46 (* Command to publish changes *)
47 end