]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_ssl.conf
- add IfModule not to fail in case of missing modules
[packages/apache.git] / 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.085734 seconds and 4 git commands to generate.