Skip to content
This repository
Newer
Older
100644 101 lines (79 sloc) 2.93 kb
d8b31335 » abh
2004-06-18 better sample config file
1 perl = /usr/bin/perl
2 httpd = /usr/sbin/httpd
268058c1 » abh
2003-05-15 sample configuration
3
0a947d2e » rspier
2004-04-15 Dave Rolsky's configuration tweaks
4 # The apache_root defaults to the directory which contains bin/httpd,
5 # but you can override that.
6 # apache_root = /etc/apache
7
bf330fd9 » abh
2006-03-17 r5154@g5: ask | 2006-03-16 18:24:28 -0800
8 # path to libperl.so -- the default works in any standard install
9 # default: `libexec path as defined by apxs`/libperl.so
10 # modperl_path = /opt/mod_perl/foo/libperl.so
0a947d2e » rspier
2004-04-15 Dave Rolsky's configuration tweaks
11
d8b31335 » abh
2004-06-18 better sample config file
12 # the servername for the combust instance
268058c1 » abh
2003-05-15 sample configuration
13 servername = combust.c.askask.com
14
d8b31335 » abh
2004-06-18 better sample config file
15 # list of activated sites on this combust instance. the individual
16 # site configuration is below in the [$sitename] section blocks and in
17 # apache/conf/sites/$sitename.tmpl
bf330fd9 » abh
2006-03-17 r5154@g5: ask | 2006-03-16 18:24:28 -0800
18 # default: all sites defined in [$sitename] sections are active.
19 # sites = www, qa
268058c1 » abh
2003-05-15 sample configuration
20
21 # default port is 8225
22 port = 8230
23
0a947d2e » rspier
2004-04-15 Dave Rolsky's configuration tweaks
24 # external_port. Set to a non-zero value to set the port number used
25 # for external redirects (301's, 302's)
26 external_port = 0
27
066035b9 » rspier
2005-02-21 - new directive 'proxyip_allowed'
28 # source ip's allowed to be frontend proxies, where the X-Forwarded-For
29 # header is honored. Defaults to 127.0.0.1
f37c4677 » abh
2006-01-10 r2822@g5: ask | 2006-01-09 19:21:18 -0800
30 # proxyip_forwarders = 127.0.0.1, 10.15.0.10, 10.15.0.11,
066035b9 » rspier
2005-02-21 - new directive 'proxyip_allowed'
31
d8b31335 » abh
2004-06-18 better sample config file
32 # docs_name specifies the default directory name for documents (under
3e115c25 » abh
2006-12-05 fix docs_name comment
33 # ~user/ or $ENV{CBROOT}), defaults to "docs/live". For new applications
34 # you probably want just "docs".
0a947d2e » rspier
2004-04-15 Dave Rolsky's configuration tweaks
35 # docs_name = docs
739eaacb » abh
2003-08-02 more LOCAL work
36
ba3e1b27 » abh
2005-10-24 add Template::Timer support
37 # add Apache::Reload to the httpd configuration; good for development! (default 0)
ebf95d65 » abh
2004-02-13 fix minor typo
38 # apache_reload = 1
2afb0f9b » abh
2003-08-03 assorted CBROOTLOCAL fixes
39
ba3e1b27 » abh
2005-10-24 add Template::Timer support
40 # use Template::Timer to insert timing information in the TT output (default 0)
41 # template_timer = 1
42
85218151 » abh
2006-03-24 r1106@embla: ask | 2006-03-05 17:45:03 -0800
43 # path for log files and the httpd.pid file
44 # log_path = apache/logs
45
46 # path for temporary work files (compiled template cache etc)
47 # work_path = tmp
48
d8b31335 » abh
2004-06-18 better sample config file
49 # use cronolog for logging:
15af6e71 » rspier
2003-09-04 Add cronolog support
50 # use_cronolog = 1
51 # activate cronologging
52 # cronolog_path = /usr/sbin/cronolog
53 # path to cronolog binary
54 # cronolog_template = %Y/%m/LOGFILE.%Y%m%d
55 # cronolog_params = -l LOGDIR/LOGFILE.latest
56 # access and errror will be substituted for LOGFILE in template and
57 # params. LOGDIR is $CBROOT/apache/logs
58
6b052d0a » abh
2004-07-18 support more than one database configuration
59 [database-combust]
60 # configure database access for use with the db_open() function
61 data_source = dbi:mysql:database=combust;host=localhost
62 user = combust
63 # password = very.s3cret
64 default=1
65
66 # configure "test" database - ($dbh = db_open('test'))
67 # [database-test]
68 # data_source = dbi:...
69 # ...
70
ec014fe8 » abh
2005-07-12 support aliases in the database configuration
71 # configure the "something" database to be an alias to the combust database configuration
72 # [database-something]
73 # alias = combust
6b052d0a » abh
2004-07-18 support more than one database configuration
74
b4a7b650 » rspier
2005-11-25 Expose Apache server settings to the config file
75 # Apache specific configuration
76 [apache]
77 #maxclients = 20
78 #keepalive = Off
a52011e3 » rspier
2005-11-25 forgot keepalivetimeout
79 #keepalivetimeout = 300
b4a7b650 » rspier
2005-11-25 Expose Apache server settings to the config file
80 #startservers = 5
81 #minspareservers = 1
82 #maxspareservers = 10
83 #maxrequestsperchild = 500
84
6b052d0a » abh
2004-07-18 support more than one database configuration
85
86 # Configure sites
87
268058c1 » abh
2003-05-15 sample configuration
88 [www]
89 servername = new.c.askask.com
08a30c64 » rspier
2004-03-18 finally, support configurable ServerAliases
90 aliases = w.c.askask.com, y.c.askask.com
d8b31335 » abh
2004-06-18 better sample config file
91 siteadmin = root@combust.example.com
268058c1 » abh
2003-05-15 sample configuration
92
93 [qa]
94 servername = qa.c.askask.com
bf330fd9 » abh
2006-03-17 r5154@g5: ask | 2006-03-16 18:24:28 -0800
95 # don't include this in the default sites list
96 disabled = 1
54904fc7 » abh
2005-07-20 add bitcard_token sample config
97 # bitcard_token = 324312423423abc981
98 # bitcard_url = https://www.bitcard.org/
268058c1 » abh
2003-05-15 sample configuration
99
100 [noc]
d8b31335 » abh
2004-06-18 better sample config file
101 servername = noc.c.askask.com
268058c1 » abh
2003-05-15 sample configuration
102
103
104
Something went wrong with that request. Please try again.