Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 122 lines (93 sloc) 3.544 kB
d8b3133 @abh better sample config file
abh authored
1 perl = /usr/bin/perl
2 httpd = /usr/sbin/httpd
268058c @abh sample configuration
abh authored
3
0a947d2 @rspier Dave Rolsky's configuration tweaks
rspier authored
4 # The apache_root defaults to the directory which contains bin/httpd,
5 # but you can override that.
6 # apache_root = /etc/apache
7
bf330fd @abh r5154@g5: ask | 2006-03-16 18:24:28 -0800
abh authored
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
0a947d2 @rspier Dave Rolsky's configuration tweaks
rspier authored
11
d8b3133 @abh better sample config file
abh authored
12 # the servername for the combust instance
268058c @abh sample configuration
abh authored
13 servername = combust.c.askask.com
14
d8b3133 @abh better sample config file
abh authored
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
bf330fd @abh r5154@g5: ask | 2006-03-16 18:24:28 -0800
abh authored
18 # default: all sites defined in [$sitename] sections are active.
19 # sites = www, qa
268058c @abh sample configuration
abh authored
20
21 # default port is 8225
22 port = 8230
23
0a947d2 @rspier Dave Rolsky's configuration tweaks
rspier authored
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
bc62852 @abh solfo changes
abh authored
28 # source ip's allowed to be frontend proxies, where the
29 # X-Forwarded-For header is honored. Defaults to 127.0.0.1. The
30 # special option "*" will allow any IP to set the source IP (use only
31 # when the httpd is "firewalled in".
364038d @abh we support cidr notation for the proxyip_forwarders, so document that
abh authored
32 # proxyip_forwarders = 127.0.0.1, 10.15.0.10, 10.15.0.11, 10.20.0.0/24
066035b @rspier - new directive 'proxyip_allowed'
rspier authored
33
d8b3133 @abh better sample config file
abh authored
34 # docs_name specifies the default directory name for documents (under
3e115c2 @abh fix docs_name comment
abh authored
35 # ~user/ or $ENV{CBROOT}), defaults to "docs/live". For new applications
36 # you probably want just "docs".
0a947d2 @rspier Dave Rolsky's configuration tweaks
rspier authored
37 # docs_name = docs
739eaac @abh more LOCAL work
abh authored
38
ba3e1b2 @abh add Template::Timer support
abh authored
39 # add Apache::Reload to the httpd configuration; good for development! (default 0)
80be8b7 @abh fix ReloadDebug config; document it in sample config
abh authored
40 # 0 = disabled, 1 = enabled, 2 = enabled with debugging on
ebf95d6 @abh fix minor typo
abh authored
41 # apache_reload = 1
2afb0f9 @abh assorted CBROOTLOCAL fixes
abh authored
42
ba3e1b2 @abh add Template::Timer support
abh authored
43 # use Template::Timer to insert timing information in the TT output (default 0)
44 # template_timer = 1
45
8521815 @abh r1106@embla: ask | 2006-03-05 17:45:03 -0800
abh authored
46 # path for log files and the httpd.pid file
47 # log_path = apache/logs
48
49 # path for temporary work files (compiled template cache etc)
50 # work_path = tmp
51
18bb40d @abh Combust::Logger and Gearman helpers from EST
abh authored
52 # Gearman Job Servers (for Combust::Gearman::* / Gearman). Defaults to
53 # 127.0.0.1 on the default port.
54 # job_servers = 10.50.0.100, 10.50.0.101
55
effc8cd @abh better memcached support
abh authored
56 # Memcached servers (for Combust::Cache memcached backend).
57 # Syntax is ip:port@weight, [ip:port@weight]
58 # memcached_servers = 10.50.0.100:11211@2, 10.50.0.100:11250@3
59
d8b3133 @abh better sample config file
abh authored
60 # use cronolog for logging:
15af6e7 @rspier Add cronolog support
rspier authored
61 # use_cronolog = 1
62 # activate cronologging
63 # cronolog_path = /usr/sbin/cronolog
64 # path to cronolog binary
65 # cronolog_template = %Y/%m/LOGFILE.%Y%m%d
66 # cronolog_params = -l LOGDIR/LOGFILE.latest
67 # access and errror will be substituted for LOGFILE in template and
68 # params. LOGDIR is $CBROOT/apache/logs
69
6b052d0 @abh support more than one database configuration
abh authored
70 [database-combust]
71 # configure database access for use with the db_open() function
9444211 @abh Update TODO; start Makefile.PL file
abh authored
72 data_source = dbi:mysql:database=test;host=127.0.0.1
73 user = root
6b052d0 @abh support more than one database configuration
abh authored
74 # password = very.s3cret
75 default=1
76
725a262 @abh Document and simplify setup of database tables
abh authored
77 [database-cpanratings]
78 alias = combust
79
6b052d0 @abh support more than one database configuration
abh authored
80 # configure "test" database - ($dbh = db_open('test'))
81 # [database-test]
82 # data_source = dbi:...
83 # ...
84
ec014fe @abh support aliases in the database configuration
abh authored
85 # configure the "something" database to be an alias to the combust database configuration
86 # [database-something]
87 # alias = combust
6b052d0 @abh support more than one database configuration
abh authored
88
b4a7b65 @rspier Expose Apache server settings to the config file
rspier authored
89 # Apache specific configuration
90 [apache]
91 #maxclients = 20
92 #keepalive = Off
a52011e @rspier forgot keepalivetimeout
rspier authored
93 #keepalivetimeout = 300
b4a7b65 @rspier Expose Apache server settings to the config file
rspier authored
94 #startservers = 5
95 #minspareservers = 1
96 #maxspareservers = 10
97 #maxrequestsperchild = 500
b0f4069 @rspier Apache Module Configuration in combust.conf
rspier authored
98 #modules_add = a,b
99 #modules_del = c
c07daff @rspier new apache.loglevel config setting
rspier authored
100 #loglevel = debug
b4a7b65 @rspier Expose Apache server settings to the config file
rspier authored
101
6b052d0 @abh support more than one database configuration
abh authored
102
103 # Configure sites
104
268058c @abh sample configuration
abh authored
105 [www]
106 servername = new.c.askask.com
08a30c6 @rspier finally, support configurable ServerAliases
rspier authored
107 aliases = w.c.askask.com, y.c.askask.com
d8b3133 @abh better sample config file
abh authored
108 siteadmin = root@combust.example.com
268058c @abh sample configuration
abh authored
109
110 [qa]
111 servername = qa.c.askask.com
bf330fd @abh r5154@g5: ask | 2006-03-16 18:24:28 -0800
abh authored
112 # don't include this in the default sites list
113 disabled = 1
54904fc @abh add bitcard_token sample config
abh authored
114 # bitcard_token = 324312423423abc981
115 # bitcard_url = https://www.bitcard.org/
268058c @abh sample configuration
abh authored
116
117 [noc]
d8b3133 @abh better sample config file
abh authored
118 servername = noc.c.askask.com
268058c @abh sample configuration
abh authored
119
120
121
Something went wrong with that request. Please try again.