Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. NameVirtualHost *:80
  2. NameVirtualHost *.443
  3. <VirtualHost *:80>
  4. SSLEngine On
  5. SSLCertificateFile /etc/ssl/crt/kelele_mobi.crt
  6. SSLCertificateKeyFile /etc/ssl/crt/myserver.key
  7. SSLCACertificateFile /etc/ssl/crt/kelele.mobi.cer
  8.  
  9. ServerAdmin webmaster@localhost
  10. DocumentRoot /var/www
  11. ServerName www.kelele.mobi
  12. ServerAlias kelele.mobi
  13.  
  14. <Directory />
  15. Options FollowSymLinks
  16. AllowOverride All
  17. </Directory>
  18. <Directory /var/www/>
  19. Options +Indexes FollowSymLinks MultiViews
  20. AllowOverride All
  21. Order allow,deny
  22. allow from all
  23. </Directory>
  24. ErrorLog ${APACHE_LOG_DIR}/error.log
  25.  
  26. # Possible values include: debug, info, notice, warn, error, crit,
  27. # alert, emerg.
  28. LogLevel warn
  29.  
  30. CustomLog ${APACHE_LOG_DIR}/access.log combined
  31.  
  32. Alias /doc/ "/usr/share/doc/"
  33. <Directory "/usr/share/doc/">
  34. Options Indexes MultiViews FollowSymLinks
  35. AllowOverride None
  36. Order deny,allow
  37. Deny from all
  38. Allow from 127.0.0.0/255.0.0.0 ::1/128
  39. </Directory>
  40.  
  41. </VirtualHost>
  42. <VirtualHost *:443>
  43. SSLEngine On
  44. SSLCertificateFile /etc/ssl/wild/STAR_kelele_mobi.crt
  45. SSLCertificateKeyFile /etc/ssl/wild/myserver.key
  46. SSLCertificateChainFile /etc/ssl/wild/star.ca-bundle
  47.  
  48. ServerAdmin webmaster@localhost
  49. DocumentRoot /var/www
  50. ServerName kelele.mobi
  51. ServerAlias *.kelele.mobi
  52. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement