0772c34ea2c1735095e9ceffbf5965b7d7a3131b
[strongswan.git] / testing / hosts / winnetou / etc / apache2 / sites-enabled / 001-ocsp_vhost.conf
1 # OCSP Server
2
3 Listen 8880
4
5 AddHandler cgi-script .cgi
6
7 <VirtualHost *:8880>
8     ServerAdmin  root@strongswan.org
9     DocumentRoot /etc/openssl/ocsp
10     ServerName   ocsp.strongswan.org
11     ServerAlias  192.168.0.150
12     DirectoryIndex ocsp.cgi
13     <Directory "/etc/openssl/ocsp">
14         Options  +ExecCGI
15         <IfModule mod_authz_core.c>
16             Require all granted
17         </IfModule>
18         <IfModule !mod_authz_core.c>
19             Order deny,allow
20             Allow from all
21         </IfModule>
22    </Directory>
23    ErrorLog     /var/log/apache2/ocsp/error_log
24    CustomLog    /var/log/apache2/ocsp/access_log combined
25 </VirtualHost>
26
27 Listen 8881
28
29 <VirtualHost *:8881>
30     ServerAdmin  root@research.strongswan.org
31     DocumentRoot /etc/openssl/research/ocsp
32     ServerName   ocsp.research.strongswan.org
33     ServerAlias  ocsp.strongswan.org 192.168.0.150
34     DirectoryIndex ocsp.cgi
35     <Directory "/etc/openssl/research/ocsp">
36         Options +ExecCGI
37         <IfModule mod_authz_core.c>
38             Require all granted
39         </IfModule>
40         <IfModule !mod_authz_core.c>
41             Order deny,allow
42             Allow from all
43         </IfModule>
44    </Directory>
45    ErrorLog     /var/log/apache2/ocsp/error_log
46    CustomLog    /var/log/apache2/ocsp/access_log combined
47 </VirtualHost>
48
49 Listen 8882
50
51 <VirtualHost *:8882>
52     ServerAdmin  root@sales.strongswan.org
53     DocumentRoot /etc/openssl/sales/ocsp
54     ServerName   ocsp.sales.strongswan.org
55     ServerAlias  ocsp.strongswan.org 192.168.0.150
56     DirectoryIndex ocsp.cgi
57     <Directory "/etc/openssl/sales/ocsp">
58         Options +ExecCGI
59         <IfModule mod_authz_core.c>
60             Require all granted
61         </IfModule>
62         <IfModule !mod_authz_core.c>
63             Order deny,allow
64             Allow from all
65         </IfModule>
66    </Directory>
67    ErrorLog     /var/log/apache2/ocsp/error_log
68    CustomLog    /var/log/apache2/ocsp/access_log combined
69 </VirtualHost>