~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to build/mkconfNW.awk

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Licensed to the Apache Software Foundation (ASF) under one or more
 
2
# contributor license agreements.  See the NOTICE file distributed with
 
3
# this work for additional information regarding copyright ownership.
 
4
# The ASF licenses this file to You under the Apache License, Version 2.0
 
5
# (the "License"); you may not use this file except in compliance with
 
6
# the License.  You may obtain a copy of the License at
 
7
#
 
8
#     http://www.apache.org/licenses/LICENSE-2.0
 
9
#
 
10
# Unless required by applicable law or agreed to in writing, software
 
11
# distributed under the License is distributed on an "AS IS" BASIS,
 
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
# See the License for the specific language governing permissions and
 
14
# limitations under the License.
 
15
 
 
16
BEGIN {
 
17
    
 
18
    A["ServerRoot"] = "SYS:/APACHE2"
 
19
    A["Port"] = "80"
 
20
    A["cgidir"] = "cgi-bin"
 
21
    A["logfiledir"] = "logs"
 
22
    A["htdocsdir"] = "htdocs"
 
23
    A["sysconfdir"] = "conf"
 
24
    A["iconsdir"] = "icons"
 
25
    A["manualdir"] = "manual"
 
26
    A["runtimedir"] = "logs"
 
27
    A["errordir"] = "error"
 
28
    A["proxycachedir"] = "proxy"
 
29
 
 
30
    B["htdocsdir"] = A["ServerRoot"]"/"A["htdocsdir"]
 
31
    B["iconsdir"] = A["ServerRoot"]"/"A["iconsdir"]
 
32
    B["manualdir"] = A["ServerRoot"]"/"A["manualdir"]
 
33
    B["errordir"] = A["ServerRoot"]"/"A["errordir"]
 
34
    B["proxycachedir"] = A["ServerRoot"]"/"A["proxycachedir"]
 
35
    B["cgidir"] = A["ServerRoot"]"/"A["cgidir"]
 
36
    B["listen_stmt_1"] = "Listen "A["Port"]
 
37
    B["listen_stmt_2"] = ""
 
38
}
 
39
 
 
40
/@@LoadModule@@/ {
 
41
    print "#LoadModule actions_module modules/actions.nlm"
 
42
    print "#LoadModule auth_basic_module modules/authbasc.nlm"
 
43
    print "#LoadModule auth_digest_module modules/authdigt.nlm"
 
44
    print "#LoadModule authn_anon_module modules/authnano.nlm"
 
45
    print "#LoadModule authn_dbm_module modules/authndbm.nlm"
 
46
    print "#LoadModule authn_default_module modules/authndef.nlm"
 
47
    print "#LoadModule authn_file_module modules/authnfil.nlm"
 
48
    print "#LoadModule authz_dbm_module modules/authzdbm.nlm"
 
49
    print "#LoadModule authz_default_module modules/authzdef.nlm"
 
50
    print "#LoadModule authz_groupfile_module modules/authzgrp.nlm"
 
51
    print "#LoadModule authz_user_module modules/authzusr.nlm"
 
52
    print "#LoadModule asis_module modules/mod_asis.nlm"
 
53
    print "LoadModule autoindex_module modules/autoindex.nlm"
 
54
    print "#LoadModule cern_meta_module modules/cernmeta.nlm"
 
55
    print "#LoadModule cgi_module modules/mod_cgi.nlm"
 
56
    print "#LoadModule dav_module modules/mod_dav.nlm"
 
57
    print "#LoadModule dav_fs_module modules/moddavfs.nlm"
 
58
    print "#LoadModule dav_lock_module modules/moddavlk.nlm"
 
59
    print "#LoadModule expires_module modules/expires.nlm"
 
60
    print "#LoadModule ext_filter_module modules/extfiltr.nlm"
 
61
    print "#LoadModule file_cache_module modules/filecach.nlm"
 
62
    print "#LoadModule headers_module modules/headers.nlm"
 
63
    print "#LoadModule ident_module modules/modident.nlm"
 
64
    print "#LoadModule imagemap_module modules/imagemap.nlm"
 
65
    print "#LoadModule info_module modules/info.nlm"
 
66
    print "#LoadModule log_forensic_module modules/forensic.nlm"
 
67
    print "#LoadModule logio_module modules/modlogio.nlm"
 
68
    print "#LoadModule mime_magic_module modules/mimemagi.nlm"
 
69
    print "#LoadModule proxy_module modules/proxy.nlm"
 
70
    print "#LoadModule proxy_connect_module modules/proxycon.nlm"
 
71
    print "#LoadModule proxy_http_module modules/proxyhtp.nlm"
 
72
    print "#LoadModule proxy_ftp_module modules/proxyftp.nlm"
 
73
    print "#LoadModule rewrite_module modules/rewrite.nlm"
 
74
    print "#LoadModule speling_module modules/speling.nlm"
 
75
    print "#LoadModule status_module modules/status.nlm"
 
76
    print "#LoadModule unique_id_module modules/uniqueid.nlm"
 
77
    print "#LoadModule usertrack_module modules/usertrk.nlm"
 
78
    print "#LoadModule version_module modules/modversion.nlm"
 
79
    print "#LoadModule userdir_module modules/userdir.nlm"
 
80
    print "#LoadModule vhost_alias_module modules/vhost.nlm"
 
81
    print ""
 
82
    next
 
83
}
 
84
 
 
85
match ($0,/@@.*@@/) {
 
86
    s=substr($0,RSTART+2,RLENGTH-4)
 
87
    sub(/@@.*@@/,A[s],$0)
 
88
}
 
89
 
 
90
match ($0,/@rel_.*@/) {
 
91
    s=substr($0,RSTART+5,RLENGTH-6)
 
92
    sub(/@rel_.*@/,A[s],$0)
 
93
}
 
94
 
 
95
match ($0,/@exp_.*@/) {
 
96
    s=substr($0,RSTART+5,RLENGTH-6)
 
97
    sub(/@exp_.*@/,B[s],$0)
 
98
}
 
99
 
 
100
match ($0,/@nonssl_.*@/) {
 
101
    s=substr($0,RSTART+8,RLENGTH-9)
 
102
    sub(/@nonssl_.*@/,B[s],$0)
 
103
}
 
104
 
 
105
{
 
106
    print
 
107
}
 
108
 
 
109
 
 
110
END {
 
111
    if (SSL) {
 
112
       print
 
113
       print "#"
 
114
       print "# SecureListen: Allows you to securely bind Apache to specific IP addresses "
 
115
       print "# and/or ports."
 
116
       print "#"
 
117
       print "# Change this to SecureListen on specific IP addresses as shown below to "
 
118
       print "# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)"
 
119
       print "#"
 
120
       print "#SecureListen 443 \"SSL CertificateDNS\""
 
121
    }
 
122
}