001-ocsp_vhost.conf 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # OCSP Server
  2. Listen 8880
  3. AddHandler cgi-script .cgi
  4. <VirtualHost *:8880>
  5. ServerAdmin root@strongswan.org
  6. DocumentRoot /etc/ca/ocsp
  7. ServerName ocsp.strongswan.org
  8. ServerAlias 192.168.0.150
  9. DirectoryIndex ocsp.cgi
  10. <Directory "/etc/ca/ocsp">
  11. Options +ExecCGI
  12. Require all granted
  13. </Directory>
  14. ErrorLog /var/log/apache2/ocsp/error_log
  15. CustomLog /var/log/apache2/ocsp/access_log combined
  16. </VirtualHost>
  17. Listen 8881
  18. <VirtualHost *:8881>
  19. ServerAdmin root@research.strongswan.org
  20. DocumentRoot /etc/ca/research/ocsp
  21. ServerName ocsp.research.strongswan.org
  22. ServerAlias ocsp.strongswan.org 192.168.0.150
  23. DirectoryIndex ocsp.cgi
  24. <Directory "/etc/ca/research/ocsp">
  25. Options +ExecCGI
  26. Require all granted
  27. </Directory>
  28. ErrorLog /var/log/apache2/ocsp/error_log
  29. CustomLog /var/log/apache2/ocsp/access_log combined
  30. </VirtualHost>
  31. Listen 8882
  32. <VirtualHost *:8882>
  33. ServerAdmin root@sales.strongswan.org
  34. DocumentRoot /etc/ca/sales/ocsp
  35. ServerName ocsp.sales.strongswan.org
  36. ServerAlias ocsp.strongswan.org 192.168.0.150
  37. DirectoryIndex ocsp.cgi
  38. <Directory "/etc/ca/sales/ocsp">
  39. Options +ExecCGI
  40. Require all granted
  41. </Directory>
  42. ErrorLog /var/log/apache2/ocsp/error_log
  43. CustomLog /var/log/apache2/ocsp/access_log combined
  44. </VirtualHost>