Advertisement
Guest User

Untitled

a guest
Jul 13th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. <VirtualHost *:80>
  2.  
  3. ServerAdmin joseph.lee.esl@gmail.com
  4. DocumentRoot /var/www/html/elaan/
  5.  
  6. ErrorLog ${APACHE_LOG_DIR}/error.log
  7. CustomLog ${APACHE_LOG_DIR}/access.log combined
  8.  
  9. </VirtualHost>
  10.  
  11. <IfModule mod_ssl.c>
  12. <VirtualHost _default_:443>
  13. ServerAdmin joseph.lee.esl@gmail.com
  14. ServerName elaan.com.tw:443
  15.  
  16. DocumentRoot /var/www/html/elaan
  17.  
  18. ErrorLog ${APACHE_LOG_DIR}/error.log
  19. CustomLog ${APACHE_LOG_DIR}/access.log combined
  20.  
  21. SSLEngine on
  22.  
  23. SSLCertificateFile /etc/apache2/ssl/ssl.crt
  24. SSLCertificateKeyFile /etc/apache2/ssl/private.key
  25. SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem
  26.  
  27.  
  28. <FilesMatch ".(cgi|shtml|phtml|php)$">
  29. SSLOptions +StdEnvVars
  30. </FilesMatch>
  31. <Directory /usr/lib/cgi-bin>
  32. SSLOptions +StdEnvVars
  33. </Directory>
  34.  
  35. BrowserMatch "MSIE [2-6]"
  36. nokeepalive ssl-unclean-shutdown
  37. downgrade-1.0 force-response-1.0
  38. # MSIE 7 and newer should be able to use keepalive
  39. BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
  40.  
  41. </VirtualHost>
  42. </IfModule>
  43.  
  44. <VirtualHost *:80>
  45.  
  46. ServerAdmin elaan.english@gmail.com
  47. ServerName elaan.com.tw
  48. ServerAlias www.elaan.com.tw
  49. DocumentRoot /var/www/html/elaan
  50.  
  51. ErrorLog ${APACHE_LOG_DIR}/error.log
  52. CustomLog ${APACHE_LOG_DIR}/access.log combined
  53.  
  54. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement