Mailing List Archive

multiple lines for a group in .htgroup bug (fwd)
I've seen this reported a few times now. Is there a good fix ?

I suggested something to the submitter, but it might be complete
crap, I'll have to wait for a reply.

Forwarded message:
> From evon@ingenia.com Mon Sep 25 17:05:08 1995
> Message-Id: <199509260003.UAA07222@schoolnet2.carleton.ca>
> Date: Mon, 25 Sep 95 20:03:35 -0400
> Sender: evon@schoolnet.carleton.ca
> From: Eric von Graevenitz <evon@ingenia.com>
> X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4m)
> MIME-Version: 1.0
> To: apache-bugs@mail.apache.org
> Subject: multiple lines for a group in .htgroup bug
> X-URL: http://www.apache.org/docs/FAQ.html#tested
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain; charset=us-ascii
>
> Hi good folks,
>
> I'm the new sys-admin for Canada's SchoolNet (http://schoolnet2.carleton.ca )
> and I think we found a bug with large .htgroup files.
>
> The problem seems to be apache ( version 8.11 at least), doesn't recognize
> multiple group lines of the same group. Such as:
> -------- .htgroup -------------------------------
> admin: me you them
>
> other: friend@hiho.edu buddy@boy.edu ......etc
> other: another@name.com not@home.net ......etc
> other: ....etc
> etc..
> -------------------------------------------------
>
> This was the format of our large .htgroup file from our previous NCSA httpd
> 1.4. Since we had over 800 names, the server split up the names in lines of
> twenty or so names.
>
> If we changed .htgroup to a format with one long group line, apache would choke
> from the 80000 byte (hog) limit in http_main.c . We could recompile with a
> larger hog limit, but it would be vastly preferable for apache to allow
> multiple lines for a single group as described above.
>
> If you have any questions please feel free to email me.
>
> Eric von Graevenitz (613) 788-2600 x1226
> evon@schoolnet.carleton.ca Carleton U; Ottawa, Canada
Re: multiple lines for a group in .htgroup bug (fwd) [ In reply to ]
On Mon, 25 Sep 1995, Rob Hartill wrote:
> I've seen this reported a few times now. Is there a good fix ?

Not really! Having hundreds of entries in .htpasswd and .htgroup is very
inefficient. On our system having only 100 entries in the password and
group files added over 1 second of server processing to each document
requested. Suggest they use the DBM group/password (we have >9,000
entries with the Apache DBM code with no problems).

> > This was the format of our large .htgroup file from our previous NCSA httpd
> > 1.4. Since we had over 800 names, the server split up the names in lines of
> > twenty or so names.

Mark
Mark J Cox, mark@telescope.org -- URL:http://www.telescope.org/mark.html
University of Bradford, England ---------- tel +44.1274.384070/fax 391333