Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 4th, 2010  |  syntax: None  |  size: 1.22 KB  |  views: 502  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. NameVirtualHost 192.168.1.21:80  
  2.  
  3. <VirtualHost 192.168.1.21:80>
  4.     DocumentRoot /home/adv/whiteboxservice
  5.     ServerName whiteboxservice.com
  6.     ServerAlias www.whiteboxservice.com
  7.     ServerSignature On
  8.     SSLEngine on
  9.     SSLCertificateFile /etc/httpd/conf/keys/www.whiteboxservice.com.crt
  10.     SSLCertificateKeyFile /etc/httpd/conf/keys/www.whiteboxservice.com.key
  11.     LogFormat "%v %l %u %t \"%r\" %>s %b" comonvhost
  12.     CustomLog logs/whiteboxservice.com/access_log comonvhost
  13.     ErrorLog logs/whiteboxservice.com/error_log
  14. </VirtualHost>
  15.  
  16. NameVirtualHost 192.168.1.21:443
  17.  
  18. <VirtualHost 192.168.1.21:443>
  19.     DocumentRoot /home/adv/whiteboxservice
  20.     ServerName www.whiteboxservice.com:443
  21.     ServerAlias whiteboxservice.com:443
  22.     ServerSignature On
  23.     LogFormat "%v %l %u %t \"%r\" %>s %b" comonvhost
  24.     # ErrorLog logs/whiteboxserivce.com/ssl_error_log
  25.     # TransferLog logs/whiteboxservice.com/ssl_access_log
  26.     LogLevel warn
  27.     SSLEngine on
  28.     SSLProtocol all -SSLv2
  29.     SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
  30.     SSLCertificateFile /etc/httpd/conf/keys/www.whiteboxservice.com.crt
  31.     SSLCertificateKeyFile /etc/httpd/conf/keys/www.whiteboxservice.com.key
  32. </VirtualHost>