testing: Remove Apache config hacks for Debian wheezy
[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         Require all granted
16    </Directory>
17    ErrorLog     /var/log/apache2/ocsp/error_log
18    CustomLog    /var/log/apache2/ocsp/access_log combined
19 </VirtualHost>
20
21 Listen 8881
22
23 <VirtualHost *:8881>
24     ServerAdmin  root@research.strongswan.org
25     DocumentRoot /etc/openssl/research/ocsp
26     ServerName   ocsp.research.strongswan.org
27     ServerAlias  ocsp.strongswan.org 192.168.0.150
28     DirectoryIndex ocsp.cgi
29     <Directory "/etc/openssl/research/ocsp">
30         Options +ExecCGI
31         Require all granted
32    </Directory>
33    ErrorLog     /var/log/apache2/ocsp/error_log
34    CustomLog    /var/log/apache2/ocsp/access_log combined
35 </VirtualHost>
36
37 Listen 8882
38
39 <VirtualHost *:8882>
40     ServerAdmin  root@sales.strongswan.org
41     DocumentRoot /etc/openssl/sales/ocsp
42     ServerName   ocsp.sales.strongswan.org
43     ServerAlias  ocsp.strongswan.org 192.168.0.150
44     DirectoryIndex ocsp.cgi
45     <Directory "/etc/openssl/sales/ocsp">
46         Options +ExecCGI
47         Require all granted
48    </Directory>
49    ErrorLog     /var/log/apache2/ocsp/error_log
50    CustomLog    /var/log/apache2/ocsp/access_log combined
51 </VirtualHost>