]> git.pld-linux.org Git - packages/apache1-mod_ssl.git/commitdiff
- add IfModule not to fail in case of missing modules
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 15 Jun 2006 17:08:53 +0000 (17:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_ssl.conf -> 1.16

apache-mod_ssl.conf

index 7ae6746e62b91db091428b1bfbc501ce1fc82ff8..d5d7cca6c7f90ab18b60915de4cde3538f2ea1e2 100644 (file)
@@ -211,14 +211,16 @@ SSLCertificateKeyFile /etc/httpd/ssl/server.key
 #   Similarly, one has to force some clients to use HTTP/1.0 to workaround
 #   their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
 #   "force-response-1.0" for this.
-BrowserMatch ".*MSIE.*" \
-                nokeepalive ssl-unclean-shutdown \
-                downgrade-1.0 force-response-1.0
+<IfModule mod_setenvif.c>
+       BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
+</IfModule>
 
 #   Per-Server Logging:
 #   The home of a custom SSL log file. Use this when you want a
 #   compact non-error SSL logfile on a virtual host basis.
-CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
+<IfModule mod_log_config.c>
+       CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
+</IfModule>
 
 </VirtualHost>
 
This page took 0.0797 seconds and 4 git commands to generate.