Guest User

default-ssl

a guest
Aug 22nd, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3. ServerAdmin [email protected]
  4. ServerName domein.nl
  5. DocumentRoot /var/www
  6. <Directory />
  7. Options FollowSymLinks
  8. AllowOverride None
  9. </Directory>
  10. <Directory /var/www/>
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride All
  13. Order allow,deny
  14. allow from all
  15. </Directory>
  16.  
  17. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  18. <Directory "/usr/lib/cgi-bin">
  19. AllowOverride None
  20. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  21. Order allow,deny
  22. Allow from all
  23. </Directory>
  24.  
  25. ErrorLog ${APACHE_LOG_DIR}/error.log
  26.  
  27. # Possible values include: debug, info, notice, warn, error, crit,
  28. # alert, emerg.
  29. LogLevel warn
  30.  
  31. CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
  32.  
  33. Alias /doc/ "/usr/share/doc/"
  34. <Directory "/usr/share/doc/">
  35. Options Indexes MultiViews FollowSymLinks
  36. AllowOverride None
  37. Order deny,allow
  38. Deny from all
  39. Allow from 127.0.0.0/255.0.0.0 ::1/128
  40. </Directory>
  41.  
  42.  
  43. SSLEngine on
  44.  
  45. SSLCertificateFile /etc/ssl/certs/server.crt
  46. SSLCertificateKeyFile /etc/ssl/private/server.key
  47.  
  48. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  49. SSLOptions +StdEnvVars
  50. </FilesMatch>
  51. <Directory /usr/lib/cgi-bin>
  52. SSLOptions +StdEnvVars
  53. </Directory>
  54.  
  55. BrowserMatch "MSIE [2-6]" \
  56. nokeepalive ssl-unclean-shutdown \
  57. downgrade-1.0 force-response-1.0
  58. # MSIE 7 and newer should be able to use keepalive
  59. BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
  60. </VirtualHost>
  61. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment