"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) (G)AWK source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
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"] = BDIR
19 A["FTPPort"] = FTPPORT
20 A["ftpdocsdir"] = FTPROOT
21 A["logfiledir"] = "logs"
22 A["runtimedir"] = "logs"
23 A["sysconfdir"] = "conf"
24
25 B["ftpdocsdir"] = A["ServerRoot"]"/"A["ftpdocsdir"]
26 B["sysconfdir"] = A["ServerRoot"]"/"A["sysconfdir"]
27 B["runtimedir"] = A["ServerRoot"]"/"A["runtimedir"]
28 }
29
30 /#@@LoadFtpModules@@/ {
31 print "LoadModule ftp_module modules/mod_ftp."SOEXT
32 next
33 }
34
35 match ($0,/^#SSLSessionCache +"dbm:/) {
36 sub(/^#/, "")
37 }
38
39 match ($0,/^SSLSessionCache +"shmcb:/) {
40 sub(/^SSLSessionCache/, "#SSLSessionCache")
41 }
42
43 match ($0,/SSLMutex +"file:@exp_runtimedir@\/ssl_mutex"/) {
44 sub(/"file:@exp_runtimedir@\/ssl_mutex"/, "default")
45 }
46
47 match ($0,/@@.*@@/) {
48 s=substr($0,RSTART+2,RLENGTH-4)
49 sub(/@@.*@@/,A[s],$0)
50 }
51
52 match ($0,/@rel_.*@/) {
53 s=substr($0,RSTART+5,RLENGTH-6)
54 sub(/@rel_.*@/,A[s],$0)
55 }
56
57 match ($0,/@exp_.*@/) {
58 s=substr($0,RSTART+5,RLENGTH-6)
59 sub(/@exp_.*@/,B[s],$0)
60 }
61
62 match ($0,/@nonssl_.*@/) {
63 s=substr($0,RSTART+8,RLENGTH-9)
64 sub(/@nonssl_.*@/,B[s],$0)
65 }
66
67 {
68 print
69 }
70
71
72 END {
73 print ""
74 }
75
76