summaryrefslogtreecommitdiffstats
path: root/rubbos/app/httpd-2.0.64/build/mkconfNW.awk
diff options
context:
space:
mode:
authorhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 03:10:21 -0500
committerhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 03:10:21 -0500
commitc0b7206652b2852bc574694e7ba07ba1c2acdc00 (patch)
tree5cb95cb0e19e03610525903df46279df2c3b7eb1 /rubbos/app/httpd-2.0.64/build/mkconfNW.awk
parentb6d3d6e668b793220f2d3af1bc3e828553dc3fe6 (diff)
delete app
Change-Id: Id4c572809969ebe89e946e88063eaed262cff3f2 Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/app/httpd-2.0.64/build/mkconfNW.awk')
-rw-r--r--rubbos/app/httpd-2.0.64/build/mkconfNW.awk105
1 files changed, 0 insertions, 105 deletions
diff --git a/rubbos/app/httpd-2.0.64/build/mkconfNW.awk b/rubbos/app/httpd-2.0.64/build/mkconfNW.awk
deleted file mode 100644
index dcfd93d6..00000000
--- a/rubbos/app/httpd-2.0.64/build/mkconfNW.awk
+++ /dev/null
@@ -1,105 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-BEGIN {
-
- A["ServerRoot"] = "SYS:/APACHE2"
- A["Port"] = "80"
- A["cgidir"] = "cgi-bin"
- A["logfiledir"] = "logs"
- A["htdocsdir"] = "htdocs"
- A["sysconfdir"] = "conf"
- A["iconsdir"] = "icons"
- A["manualdir"] = "manual"
- A["runtimedir"] = "logs"
- A["errordir"] = "error"
- A["proxycachedir"] = "proxy"
-
- B["htdocsdir"] = A["ServerRoot"]"/"A["htdocsdir"]
- B["iconsdir"] = A["ServerRoot"]"/"A["iconsdir"]
- B["manualdir"] = A["ServerRoot"]"/"A["manualdir"]
- B["errordir"] = A["ServerRoot"]"/"A["errordir"]
- B["proxycachedir"] = A["ServerRoot"]"/"A["proxycachedir"]
- B["cgidir"] = A["ServerRoot"]"/"A["cgidir"]
- B["listen_stmt_1"] = "Listen "A["Port"]
- B["listen_stmt_2"] = ""
-}
-
-/@@LoadModule@@/ {
- print "#LoadModule auth_anon_module modules/authanon.nlm"
- print "#LoadModule auth_dbm_module modules/authdbm.nlm"
- print "#LoadModule auth_digest_module modules/digest.nlm"
- print "#LoadModule cern_meta_module modules/cernmeta.nlm"
- print "#LoadModule dav_module modules/mod_dav.nlm"
- print "#LoadModule dav_fs_module modules/moddavfs.nlm"
- print "#LoadModule expires_module modules/expires.nlm"
- print "#LoadModule ext_filter_module modules/extfiltr.nlm"
- print "#LoadModule file_cache_module modules/filecach.nlm"
- print "#LoadModule headers_module modules/headers.nlm"
- print "#LoadModule info_module modules/info.nlm"
- print "#LoadModule log_forensic_module modules/forensic.nlm"
- print "#LoadModule logio_module modules/modlogio.nlm"
- print "#LoadModule mime_magic_module modules/mimemagi.nlm"
- print "#LoadModule proxy_module modules/proxy.nlm"
- print "#LoadModule proxy_connect_module modules/proxycon.nlm"
- print "#LoadModule proxy_http_module modules/proxyhtp.nlm"
- print "#LoadModule proxy_ftp_module modules/proxyftp.nlm"
- print "#LoadModule rewrite_module modules/rewrite.nlm"
- print "#LoadModule speling_module modules/speling.nlm"
- print "#LoadModule status_module modules/status.nlm"
- print "#LoadModule unique_id_module modules/uniqueid.nlm"
- print "#LoadModule usertrack_module modules/usertrk.nlm"
- print "#LoadModule version_module modules/modversion.nlm"
- print "#LoadModule vhost_alias_module modules/vhost.nlm"
- print ""
- next
-}
-
-match ($0,/@@.*@@/) {
- s=substr($0,RSTART+2,RLENGTH-4)
- sub(/@@.*@@/,A[s],$0)
-}
-
-match ($0,/@rel_.*@/) {
- s=substr($0,RSTART+5,RLENGTH-6)
- sub(/@rel_.*@/,A[s],$0)
-}
-
-match ($0,/@exp_.*@/) {
- s=substr($0,RSTART+5,RLENGTH-6)
- sub(/@exp_.*@/,B[s],$0)
-}
-
-match ($0,/@nonssl_.*@/) {
- s=substr($0,RSTART+8,RLENGTH-9)
- sub(/@nonssl_.*@/,B[s],$0)
-}
-
-{
- print
-}
-
-
-END {
- print
- print "#"
- print "# SecureListen: Allows you to securely bind Apache to specific IP addresses "
- print "# and/or ports."
- print "#"
- print "# Change this to SecureListen on specific IP addresses as shown below to "
- print "# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)"
- print "#"
- print "#SecureListen 443 \"SSL CertificateDNS\""
-}