support multiple ocsp servers
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 5 Apr 2007 17:08:51 +0000 (17:08 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 5 Apr 2007 17:08:51 +0000 (17:08 -0000)
testing/hosts/winnetou/etc/apache2/httpd.conf
testing/hosts/winnetou/etc/apache2/vhosts.d/01_ocsp_vhost.conf

index df19b3f..41c7445 100644 (file)
@@ -212,6 +212,8 @@ KeepAliveTimeout 15
 #Listen 12.34.56.78:80
 Listen 80
 Listen 8880
+Listen 8881
+Listen 8882
 
 #
 # Dynamic Shared Object (DSO) Support
index a904a71..c97c309 100644 (file)
@@ -4,10 +4,34 @@
     ServerAdmin  root@strongswan.org
     DocumentRoot /etc/openssl/ocsp
     ServerName   ocsp.strongswan.org
-    ServerAlias         192.168.0.150 
+    ServerAlias         192.168.0.150
     <Directory "/etc/openssl/ocsp">
        Options      +ExecCGI
    </Directory>
    ErrorLog     /var/log/apache2/ocsp/error_log
    CustomLog    /var/log/apache2/ocsp/access_log combined
 </VirtualHost>
+
+<VirtualHost *:8881>
+    ServerAdmin  root@research.strongswan.org
+    DocumentRoot /etc/openssl/research/ocsp
+    ServerName   ocsp.research.strongswan.org
+    ServerAlias         ocsp.strongswan.org 192.168.0.150
+    <Directory "/etc/openssl/research/ocsp">
+       Options      +ExecCGI
+   </Directory>
+   ErrorLog     /var/log/apache2/ocsp/error_log
+   CustomLog    /var/log/apache2/ocsp/access_log combined
+</VirtualHost>
+
+<VirtualHost *:8882>
+    ServerAdmin  root@sales.strongswan.org
+    DocumentRoot /etc/openssl/sales/ocsp
+    ServerName   ocsp.sales.strongswan.org
+    ServerAlias         ocsp.strongswan.org 192.168.0.150
+    <Directory "/etc/openssl/sales/ocsp">
+       Options      +ExecCGI
+   </Directory>
+   ErrorLog     /var/log/apache2/ocsp/error_log
+   CustomLog    /var/log/apache2/ocsp/access_log combined
+</VirtualHost>