Advertisement
auzmosis

Interpreted Vhost

Jan 28th, 2021
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. # Virtual hosts
  2. Include conf/extra/httpd-vhosts.conf
  3.  
  4. <VirtualHost *:80>
  5. DocumentRoot "C:/Apache24/htdocs/"
  6. </VirtualHost>
  7.  
  8. <VirtualHost *:443>
  9. DocumentRoot "C:/Apache24/htdocs/"
  10. </VirtualHost>
  11.  
  12. <VirtualHost *:80>
  13. DocumentRoot "C:/Apache24/htdocs/tardismedia.ca"
  14. ServerName tardismedia.ca
  15. ServerAlias www.tardismedia.ca
  16. </VirtualHost>
  17.  
  18. <VirtualHost *:80>
  19. DocumentRoot "C:\Apache24\htdocs\doctorwho.ca"
  20. ServerName doctorwho.ca
  21. ServerAlias www.doctorwho.ca
  22. </VirtualHost>
  23.  
  24. <VirtualHost *:443>
  25. DocumentRoot "C:/Apache24/htdocs/tardismedia.ca"
  26. ServerName tardismedia.ca
  27. ServerAlias www.tardismedia.ca
  28. SSLEngine on
  29. </VirtualHost>
  30.  
  31. <VirtualHost *:443>
  32. ServerName doctorwho.ca
  33. ServerAlias www.doctorwho.ca
  34. DocumentRoot "C:\Apache24\htdocs\doctorwho.ca"
  35. SSLEngine on
  36. </VirtualHost>
  37.  
  38. # Configure mod_proxy_html to understand HTML4/XHTML1
  39. <IfModule proxy_html_module>
  40. Include conf/extra/proxy-html.conf
  41. </IfModule>
  42.  
  43. #This include was written by the apache gui program
  44. Include "C:/Apache24/conf/apachegui.conf"
  45.  
  46. # no certificates specification
  47. Protocols h2 http/1.1
  48.  
  49. # this needs to remove all existing DNS TXT records for
  50. # _acme-challenge.mydomain.com and create a new one with
  51. # content "challenge-data"
  52. <Location "/md-status">
  53. SetHandler md-status
  54. </Location>
  55. MDStapling on
  56.  
  57. MDomain tardismedia.ca www.tardismedia.ca
  58. MDomain doctorwho.ca www.doctorwho.ca
  59. MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
  60. MDPrivateKeys RSA 4096
  61. MDRequireHttps temporary
  62. MDStapling on
  63. MDMustStaple on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement