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.
This commit is contained in:
+24
-9
@@ -11,9 +11,14 @@ AddHandler cgi-script .cgi
|
||||
ServerAlias 192.168.0.150
|
||||
DirectoryIndex ocsp.cgi
|
||||
<Directory "/etc/openssl/ocsp">
|
||||
Options +ExecCGI
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
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
|
||||
@@ -28,9 +33,14 @@ Listen 8881
|
||||
ServerAlias ocsp.strongswan.org 192.168.0.150
|
||||
DirectoryIndex ocsp.cgi
|
||||
<Directory "/etc/openssl/research/ocsp">
|
||||
Options +ExecCGI
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
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
|
||||
@@ -45,9 +55,14 @@ Listen 8882
|
||||
ServerAlias ocsp.strongswan.org 192.168.0.150
|
||||
DirectoryIndex ocsp.cgi
|
||||
<Directory "/etc/openssl/sales/ocsp">
|
||||
Options +ExecCGI
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
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
|
||||
Reference in New Issue
Block a user