Files
strongswan-ext/testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost.conf
T
Tobias Brunner 1c616eccae testing: Update Apache config for newer Debian releases
It is still compatible with the current release as the config in
sites-available will be ignored, while conf-enabled does not exist and
is not included in the main config.
2016-06-15 16:24:44 +02:00

70 lines
1.9 KiB
Plaintext

# OCSP Server
Listen 8880
AddHandler cgi-script .cgi
<VirtualHost *:8880>
ServerAdmin [email protected]
DocumentRoot /etc/openssl/ocsp
ServerName ocsp.strongswan.org
ServerAlias 192.168.0.150
DirectoryIndex ocsp.cgi
<Directory "/etc/openssl/ocsp">
Options +ExecCGI
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Allow from all
</IfModule>
</Directory>
ErrorLog /var/log/apache2/ocsp/error_log
CustomLog /var/log/apache2/ocsp/access_log combined
</VirtualHost>
Listen 8881
<VirtualHost *:8881>
ServerAdmin [email protected]
DocumentRoot /etc/openssl/research/ocsp
ServerName ocsp.research.strongswan.org
ServerAlias ocsp.strongswan.org 192.168.0.150
DirectoryIndex ocsp.cgi
<Directory "/etc/openssl/research/ocsp">
Options +ExecCGI
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Allow from all
</IfModule>
</Directory>
ErrorLog /var/log/apache2/ocsp/error_log
CustomLog /var/log/apache2/ocsp/access_log combined
</VirtualHost>
Listen 8882
<VirtualHost *:8882>
ServerAdmin [email protected]
DocumentRoot /etc/openssl/sales/ocsp
ServerName ocsp.sales.strongswan.org
ServerAlias ocsp.strongswan.org 192.168.0.150
DirectoryIndex ocsp.cgi
<Directory "/etc/openssl/sales/ocsp">
Options +ExecCGI
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Allow from all
</IfModule>
</Directory>
ErrorLog /var/log/apache2/ocsp/error_log
CustomLog /var/log/apache2/ocsp/access_log combined
</VirtualHost>