]> granicus.if.org Git - apache/commitdiff
Since we are in a file that is only included with mod_ssl.c and
authorRoy T. Fielding <fielding@apache.org>
Thu, 1 Nov 2001 00:05:58 +0000 (00:05 +0000)
committerRoy T. Fielding <fielding@apache.org>
Thu, 1 Nov 2001 00:05:58 +0000 (00:05 +0000)
there is no point in any of it if SSL is not defined, just wrap
the whole thing in one IfDefine.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91716 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/ssl-std.conf

index 36d6c05f98faa0f5c02503df14f80b9007af6f56..3f42d26d7d49b0495621297864e60d4e7bc7cb6a 100644 (file)
@@ -1,6 +1,7 @@
 #
 # ssl-std.conf -- Apache httpd configuration for SSL Support
 #
+<IfDefine SSL>
 
 #   Until documentation is completed, please check http://www.modssl.org/
 #   for additional config examples and module docmentation.  Directives
@@ -11,9 +12,7 @@
 # When we also provide SSL we have to listen to the 
 # standard HTTP port (see above) and to the HTTPS port
 #
-<IfDefine SSL>
 Listen 443
-</IfDefine>
 
 #
 # Dynamic Shared Object (DSO) Support
@@ -32,12 +31,8 @@ Listen 443
 #
 #   Some MIME-types for downloading Certificates and CRLs
 #
-<IfDefine SSL>
 AddType application/x-x509-ca-cert .crt
 AddType application/x-pkcs7-crl    .crl
-</IfDefine>
-
-<IfModule mod_ssl.c>
 
 #   Pass Phrase Dialog:
 #   Configure the pass phrase gathering process.
@@ -86,10 +81,6 @@ SSLRandomSeed connect builtin
 SSLLog      logs/ssl_engine_log
 SSLLogLevel info
 
-</IfModule>
-
-<IfDefine SSL>
-
 ##
 ## SSL Virtual Host Context
 ##