Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. Listen 443
  3. <VirtualHost *:443>
  4. ServerAdmin patric@atakama-studio.ca
  5. ServerName www.atakama-studio.ca
  6. DocumentRoot /var/www/atakama-studio.ca/public_html
  7.  
  8. <Directory />
  9. Options FollowSymLinks
  10. AllowOverride None
  11. </Directory>
  12. <Directory /var/www/atakama-studio.ca/public_html>
  13. Options Indexes FollowSymLinks MultiViews
  14. AllowOverride None
  15. Order allow,deny
  16. allow from all
  17. </Directory>
  18.  
  19. LogLevel info ssl:warn
  20. ErrorLog ${APACHE_LOG_DIR}/error.log
  21. CustomLog ${APACHE_LOG_DIR}/access.log combined
  22.  
  23.  
  24. # SSL Engine Switch:
  25. # Enable/Disable SSL for this virtual host.
  26. SSLEngine on
  27. SSLProtocol all -SSLv2
  28.  
  29. SSLCertificateFile /etc/apache2/ssl/cert.pem
  30. SSLCertificateKeyFile /etc/apache2/ssl/privkey.pem
  31. SSLCertificateChainFile /etc/apache2/ssl/chain.pem
  32.  
  33. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  34. SSLOptions +StdEnvVars
  35. </FilesMatch>
  36. <Directory /usr/lib/cgi-bin>
  37. SSLOptions +StdEnvVars
  38. </Directory>
  39.  
  40.  
  41. </VirtualHost>
  42. </IfModule>
  43.  
  44. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement