Advertisement
Guest User

Untitled

a guest
Oct 5th, 2015
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3. ServerName x.x.x
  4. DocumentRoot /var/www/123
  5. <Directory /var/www/123>
  6. Options Indexes FollowSymLinks MultiViews
  7. AllowOverride All
  8. Order allow,deny
  9. allow from all
  10. </Directory>
  11. ErrorLog ${APACHE_LOG_DIR}/error.log
  12. LogLevel warn
  13. CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
  14. SSLEngine on
  15. SSLProtocol all -SSLv2
  16. SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
  17. SSLCertificateFile /etc/apache2/ssl/x.crt
  18. SSLCertificateKeyFile /etc/apache2/ssl/x.key
  19. SSLCertificateChainFile /etc/apache2/ssl/x.pem
  20. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  21. SSLOptions +StdEnvVars
  22. </FilesMatch>
  23. <Directory /usr/lib/cgi-bin>
  24. SSLOptions +StdEnvVars
  25. </Directory>
  26. BrowserMatch "MSIE [2-6]" \
  27. nokeepalive ssl-unclean-shutdown \
  28. downgrade-1.0 force-response-1.0
  29. BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
  30. </VirtualHost>
  31. </IfModule>
  32. ~
  33. ~
  34. ~
  35. ~
  36. ~
  37. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement