summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2001-06-21 16:27:52 +0000
committerivan <ivan>2001-06-21 16:27:52 +0000
commit20149aef93d4f0f5425d9581a914fd8215c835d7 (patch)
treeb3f520e4f544ae3e23e2ec70202b7d1b3dd67f92
parente1ac5ad82d0a77d9aee14b275950642ef588db54 (diff)
better error message
-rw-r--r--FS/FS/UID.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm
index f5c4f61..7ebe592 100644
--- a/FS/FS/UID.pm
+++ b/FS/FS/UID.pm
@@ -186,7 +186,8 @@ sub cgisetotaker {
} elsif ( $cgi && $cgi->isa('Apache') ) {
$user = lc ( $cgi->connection->user );
} else {
- die "fatal: Can't get REMOTE_USER! for cgi $cgi";
+ die "fatal: Can't get REMOTE_USER! for cgi $cgi - you need to setup ".
+ "Apache user authentication as documented in htdocs/docs/config.html";
}
$user;
}
@@ -260,7 +261,7 @@ coderef into the hash %FS::UID::callback :
=head1 VERSION
-$Id: UID.pm,v 1.6 2001-04-23 09:00:06 ivan Exp $
+$Id: UID.pm,v 1.7 2001-06-21 16:27:52 ivan Exp $
=head1 BUGS