summaryrefslogtreecommitdiff
path: root/testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2013-02-07 13:27:27 +0100
committerYves-Alexis Perez <corsac@debian.org>2013-02-07 13:27:27 +0100
commitb4f62acfae5e58d8bbdb5a2f3a4d22dc7a47f8af (patch)
tree6a9ea7adf70239d85185a20f7d5878cfe95f8070 /testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost
parent6307450b402e3c4a901fb8c0e54d8ad583ce2118 (diff)
parent7585facf05d927eb6df3929ce09ed5e60d905437 (diff)
downloadvyos-strongswan-b4f62acfae5e58d8bbdb5a2f3a4d22dc7a47f8af.tar.gz
vyos-strongswan-b4f62acfae5e58d8bbdb5a2f3a4d22dc7a47f8af.zip
Merge tag 'upstream/5.0.2'
Upstream version 5.0.2
Diffstat (limited to 'testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost')
-rw-r--r--testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost54
1 files changed, 54 insertions, 0 deletions
diff --git a/testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost b/testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost
new file mode 100644
index 000000000..b76080e37
--- /dev/null
+++ b/testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost
@@ -0,0 +1,54 @@
+# OCSP Server
+
+Listen 8880
+
+AddHandler cgi-script .cgi
+
+<VirtualHost *:8880>
+ ServerAdmin root@strongswan.org
+ DocumentRoot /etc/openssl/ocsp
+ ServerName ocsp.strongswan.org
+ ServerAlias 192.168.0.150
+ DirectoryIndex ocsp.cgi
+ <Directory "/etc/openssl/ocsp">
+ Options +ExecCGI
+ Order allow,deny
+ Allow from all
+ </Directory>
+ ErrorLog /var/log/apache2/ocsp/error_log
+ CustomLog /var/log/apache2/ocsp/access_log combined
+</VirtualHost>
+
+Listen 8881
+
+<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
+ DirectoryIndex ocsp.cgi
+ <Directory "/etc/openssl/research/ocsp">
+ Options +ExecCGI
+ Order allow,deny
+ Allow from all
+ </Directory>
+ ErrorLog /var/log/apache2/ocsp/error_log
+ CustomLog /var/log/apache2/ocsp/access_log combined
+</VirtualHost>
+
+Listen 8882
+
+<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
+ DirectoryIndex ocsp.cgi
+ <Directory "/etc/openssl/sales/ocsp">
+ Options +ExecCGI
+ Order allow,deny
+ Allow from all
+ </Directory>
+ ErrorLog /var/log/apache2/ocsp/error_log
+ CustomLog /var/log/apache2/ocsp/access_log combined
+</VirtualHost>