Advertisement
Guest User

Untitled

a guest
Dec 13th, 2013
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. # dname.com HTTP Virtual Host
  2. <VirtualHost 111.111.111.111:80>
  3. # General
  4. ServerAdmin my@e-mail.com
  5. DocumentRoot /var/www/html/dname.com
  6. ServerName www.dname.com
  7. ServerAlias dname.com
  8.  
  9. # Logging
  10. ErrorLog logs/dname.com-error_log
  11. CustomLog logs/dname.com-access_log common
  12. </VirtualHost>
  13.  
  14. <VirtualHost 111.111.111.111:443>
  15. SSLEngine on
  16. SSLCertificateFile /etc/pki/tls/certs/dname.com.crt
  17. SSLCertificateKeyFile /etc/pki/tls/private/dname.com.key
  18.  
  19. SSLCACertificateFile /etc/pki/tls/certs/ca.crt
  20.  
  21. DocumentRoot /var/www/html/dname.com
  22. ServerName dname.com
  23.  
  24. ErrorLog logs/dname.com-ssl-error_log
  25. CustomLog logs/dname.com--sslaccess_log common
  26. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement