Package: libapache2-mpm-itk
Severity: normal
Tags: patch
I'm trying to set up a vhost with MPM-ITK here, and it took me some time
to realise that the error messages I was getting were not entirely my
fault. I kept getting…
AssignGroupIDExpr returned <foo>, which is not a valid group name
…with <foo> being both 1. a valid groupname (by chance) and 2. totally
unrelated to my AssignGroupIDExpr expression. It turns out that the
error message references the wrong variable.
The following patch should help:
--- mpm_itk.c.orig 2014-04-03 15:15:14.286472357 +0200
+++ mpm_itk.c 2014-04-03 15:15:21.990526808 +0200
@@ -335,7 +335,7 @@
if (!(ent = getgrnam(wanted_groupname))) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, \
"AssignGroupIDExpr returned '%s', which is not a valid group name",
- wanted_username);
+ wanted_groupname);
return HTTP_INTERNAL_SERVER_ERROR;
}
Thanks,
Roland.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Roland Mas
'And what would humans be without love?'
RARE, said Death. -- in Sourcery (Terry Pratchett)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]