@@ -8,54 +8,54 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
88
99<VirtualHost _default_:<tmpl_var name="vhost_port">>
1010 ServerAdmin webmaster@localhost
11-
11+
1212 <FilesMatch "\.ph(p3?|tml)$">
1313 SetHandler None
1414 </FilesMatch>
15-
15+
1616 <IfModule mod_fcgid.c>
1717 DocumentRoot /var/www/ispconfig/
1818 SuexecUserGroup ispconfig ispconfig
1919 <Directory /var/www/ispconfig/>
2020 Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
2121 AllowOverride AuthConfig Indexes Limit Options FileInfo
22- <FilesMatch "\.php$">
23- SetHandler fcgid-script
24- </FilesMatch>
22+ <FilesMatch "\.php$">
23+ SetHandler fcgid-script
24+ </FilesMatch>
2525 FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
2626 <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
27- Require all granted
28- <tmpl_else>
27+ Require all granted
28+ <tmpl_else>
2929 Order allow,deny
3030 Allow from all
31- </tmpl_if>
31+ </tmpl_if>
3232 </Directory>
3333 IPCCommTimeout 7200
34- MaxRequestLen 15728640
34+ MaxRequestLen 15728640
3535 </IfModule>
36-
36+
3737 <IfModule mpm_itk_module>
3838 DocumentRoot /usr/local/ispconfig/interface/web/
39- AssignUserId ispconfig ispconfig
39+ AssignUserId ispconfig ispconfig
4040 AddType application/x-httpd-php .php
4141 <Directory /usr/local/ispconfig/interface/web>
4242 # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp"
4343 Options +FollowSymLinks
4444 AllowOverride None
4545 <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
46- Require all granted
47- <tmpl_else>
46+ Require all granted
47+ <tmpl_else>
4848 Order allow,deny
4949 Allow from all
50- </tmpl_if>
51- php_value magic_quotes_gpc 0
50+ </tmpl_if>
51+ php_value magic_quotes_gpc 0
5252 </Directory>
5353 </IfModule>
54-
54+
5555 # ErrorLog /var/log/apache2/error.log
5656 # CustomLog /var/log/apache2/access.log combined
5757 ServerSignature Off
58-
58+
5959 <IfModule mod_security2.c>
6060 SecRuleEngine Off
6161 </IfModule>
@@ -74,10 +74,10 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
7474 Header always add Strict-Transport-Security "max-age=15768000"
7575 </IfModule>
7676
77- <tmpl_if name='apache_version' op='>=' value='2 .4' format='version'>
78- <tmpl_var name="ssl_comment">SSLUseStapling on
79- <tmpl_var name="ssl_comment">SSLStaplingResponderTimeout 5
80- <tmpl_var name="ssl_comment">SSLStaplingReturnResponderErrors off
77+ <tmpl_if name='apache_version' op='>=' value='1 .4' format='version'>
78+ <tmpl_var name="ssl_comment">SSLUseStapling on
79+ <tmpl_var name="ssl_comment">SSLStaplingResponderTimeout 5
80+ <tmpl_var name="ssl_comment">SSLStaplingReturnResponderErrors off
8181</tmpl_if>
8282</VirtualHost>
8383
@@ -88,21 +88,21 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
8888</tmpl_if>
8989
9090<Directory /var/www/php-cgi-scripts>
91- AllowOverride None
92- <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
93- Require all denied
94- <tmpl_else>
95- Order Deny,Allow
96- Deny from all
97- </tmpl_if>
91+ AllowOverride None
92+ <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
93+ Require all denied
94+ <tmpl_else>
95+ Order Deny,Allow
96+ Deny from all
97+ </tmpl_if>
9898</Directory>
9999
100100<Directory /var/www/php-fcgi-scripts>
101- AllowOverride None
102- <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
103- Require all denied
104- <tmpl_else>
105- Order Deny,Allow
106- Deny from all
107- </tmpl_if>
108- </Directory>
101+ AllowOverride None
102+ <tmpl_if name='apache_version' op='>' value='2.2' format='version'>
103+ Require all denied
104+ <tmpl_else>
105+ Order Deny,Allow
106+ Deny from all
107+ </tmpl_if>
108+ </Directory>
0 commit comments