You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/07/07 21:49:20 UTC
1.2.1 problems with Linux/GLIBC (fwd)
One for the linux gurus.
The suggestion is better off rejected IMO since ErrorDocument is there
to allow infinite customisation, and sprucing up the default errors could
be a never ending task as one more 'minor' change follows another.
---------- Forwarded message ----------
Date: Mon, 7 Jul 1997 21:20:19 +0200 (MET DST)
From: Bernhard Rosenkraenzer <ro...@bero-online.ml.org>
To: apache-bugs@apache.org
Subject: 1.2.1 problems with Linux/GLIBC
Hello,
there are a few minor problems when trying to compile Apache 1.2.1 with
Linux 2.x and GLIBC 2.x:
1) The crypt library (required with GLIBC) isn't included by default.
I'd like to fix this, but I haven't found a way to autoconf glibc yet.
2) buff.c includes <sys/uio.h>, which you can't do in GLIBC (redefinition)
Same thing here - the fix is easy, but I can't autoconf glibc.
3) Not a bug, but a suggestion:
I'd like to see the following patch included - it shows the administrator
address as hyperlink rather than just text in the default error message:
--- http_protocol.c~ Tue Jul 1 08:50:29 1997
+++ http_protocol.c Mon Jul 7 21:05:16 1997
@@ -1884,8 +1884,11 @@
bputs("misconfiguration and was unable to complete\n", fd);
bputs("your request.<P>\n", fd);
bputs("Please contact the server administrator,\n ", fd);
+ bputs("<A HREF=mailto:", fd);
bputs(escape_html(r->pool, r->server->server_admin), fd);
- bputs(" and inform them of the time the error occurred,\n",
fd);
+ bputs(">", fd);
+ bputs(escape_html(r->pool, r->server->server_admin), fd);
+ bputs("</A> and inform them of the time the error
occurred,\n", fd); bputs("and anything you might have done that
may have\n", fd);
bputs("caused the error.<P>\n", fd);
break;
LLaP
bero
=== Worried about your phone bill? ===
=== Want to make it affordable? ===
=== http://FreeISDN.home.ml.org/ ===
Re: 1.2.1 problems with Linux/GLIBC (fwd)
Posted by Dean Gaudet <dg...@arctic.org>.
Hi there,
On Mon, 7 Jul 1997, Rob Hartill wrote:
>
> One for the linux gurus.
>
> The suggestion is better off rejected IMO since ErrorDocument is there
> to allow infinite customisation, and sprucing up the default errors could
> be a never ending task as one more 'minor' change follows another.
>
>
> ---------- Forwarded message ----------
> Date: Mon, 7 Jul 1997 21:20:19 +0200 (MET DST)
> From: Bernhard Rosenkraenzer <ro...@bero-online.ml.org>
> To: apache-bugs@apache.org
> Subject: 1.2.1 problems with Linux/GLIBC
>
> Hello,
> there are a few minor problems when trying to compile Apache 1.2.1 with
> Linux 2.x and GLIBC 2.x:
>
> 1) The crypt library (required with GLIBC) isn't included by default.
> I'd like to fix this, but I haven't found a way to autoconf glibc yet.
Yes in the future we'll need to detect crypt, since we need it to work on
boxes without glibc as well. You'll have to add -lcrypt to EXTRA_LIBS.
> 2) buff.c includes <sys/uio.h>, which you can't do in GLIBC (redefinition)
> Same thing here - the fix is easy, but I can't autoconf glibc.
I am very certain this is a glibc bug. Every other unix I have access to
(and the linux man pages themselves) claim to require sys/uio.h in order
to use writev/readv, which makes me believe it's mandated by POSIX. So
you should report this one to the glibc folks.
Dean