Commit ba7ebfe8 authored by Bradley Nicholes's avatar Bradley Nicholes
Browse files

Set the SSLMutex to default on the NetWare platform and make sure that the...

Set the SSLMutex to default on the NetWare platform and make sure that the file locations are being set properly.

Submitted by: Guenter Knauf <fuankg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@498666 13f79535-47bb-0310-9956-ffa450edef68
parent a409a6de
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -33,6 +33,8 @@ BEGIN {
    B["errordir"] = A["ServerRoot"]"/"A["errordir"]
    B["proxycachedir"] = A["ServerRoot"]"/"A["proxycachedir"]
    B["cgidir"] = A["ServerRoot"]"/"A["cgidir"]
    B["logfiledir"] = A["logfiledir"]
    B["sysconfdir"] = A["sysconfdir"]
    B["listen_stmt_1"] = "Listen "A["Port"]
    B["listen_stmt_2"] = ""
}
@@ -82,6 +84,10 @@ BEGIN {
    next
}

match ($0,/SSLMutex  file:@exp_runtimedir@\/ssl_mutex/) {
    sub(/SSLMutex  file:@exp_runtimedir@\/ssl_mutex/, "SSLMutex default")
}

match ($0,/@@.*@@/) {
    s=substr($0,RSTART+2,RLENGTH-4)
    sub(/@@.*@@/,A[s],$0)
@@ -109,7 +115,7 @@ match ($0,/@nonssl_.*@/) {

END {
    if (SSL) {
       print
       print ""
       print "#"
       print "# SecureListen: Allows you to securely bind Apache to specific IP addresses "
       print "# and/or ports."