ASF Bugzilla – Attachment 37020 Details for
Bug 63079
Add a debug line if Directory instruction provides an invalid path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
print a warning if Directory directive is incorrect
add_warning2.patch (text/plain), 717 bytes, created by
stephane.blondon
on 2020-02-17 16:14:21 UTC
(
hide
)
Description:
print a warning if Directory directive is incorrect
Filename:
MIME Type:
Creator:
stephane.blondon
Created:
2020-02-17 16:14:21 UTC
Size:
717 bytes
patch
obsolete
>Index: server/core.c >=================================================================== >--- server/core.c (révision 1872376) >+++ server/core.c (copie de travail) >@@ -2545,6 +2545,13 @@ > "\"> path is invalid.", NULL); > } > >+ if (!ap_is_directory(cmd->temp_pool, arg)) { >+ ap_log_perror(APLOG_MARK, APLOG_STARTUP, 0, >+ cmd->pool, APLOGNO(), >+ "Warning: <Directory \"%s\"> does not exist or is not a directory", >+ cmd->path); >+ } >+ > cmd->path = newpath; > if (cmd->path[strlen(cmd->path) - 1] != '/') > cmd->path = apr_pstrcat(cmd->pool, cmd->path, "/", NULL);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 63079
:
36960
|
37020
|
37028
|
37062