From: ivan Date: Thu, 21 Jun 2001 16:27:52 +0000 (+0000) Subject: better error message X-Git-Tag: Root-of-freeside_vpopmail_support~1 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=20149aef93d4f0f5425d9581a914fd8215c835d7 better error message --- diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm index f5c4f6139..7ebe592c3 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