Skip to content
GitLab
Explore
Sign in
Register
ISPConfig
ISPConfig 3
Compare revisions
029e6435ba99818450a42f3971bc6304aabb9c5f to af014c11eedfa9b49394ae8aa81a9dda6b720fde
Commits on Source (2)
log subdomain name in error
· aab9bd3b
Jesse Norell
authored
Aug 04, 2020
aab9bd3b
Merge branch 'error_log_vhost_name' into 'stable-3.1'
· af014c11
Till Brehm
authored
Aug 07, 2020
log subdomain name in error See merge request
ispconfig/ispconfig3!1090
af014c11
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
af014c11
...
...
@@ -613,7 +613,7 @@ class apache2_plugin {
unset
(
$tmp
);
if
(
$app
->
system
->
is_blacklisted_web_path
(
$web_folder
))
{
$app
->
log
(
'Vhost is using a blacklisted web folder: '
.
$web_folder
,
LOGLEVEL_ERROR
);
$app
->
log
(
'Vhost
'
.
$subdomain_host
.
'
is using a blacklisted web folder: '
.
$web_folder
,
LOGLEVEL_ERROR
);
return
0
;
}
...
...
server/plugins-available/nginx_plugin.inc.php
View file @
af014c11
...
...
@@ -455,7 +455,7 @@ class nginx_plugin {
unset
(
$tmp
);
if
(
$app
->
system
->
is_blacklisted_web_path
(
$web_folder
))
{
$app
->
log
(
'Vhost is using a blacklisted web folder: '
.
$web_folder
,
LOGLEVEL_ERROR
);
$app
->
log
(
'Vhost
'
.
$subdomain_host
.
'
is using a blacklisted web folder: '
.
$web_folder
,
LOGLEVEL_ERROR
);
return
0
;
}
...
...