httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: 1.2b1 suggestion
Date Tue, 03 Dec 1996 22:14:08 GMT

Hi,

Thanks for the patch/idea. I think the output is kept minimal because
apache supports fully congfigurable error reporting via "ErrorDocument",
so there's never been a need to make the standard stuff look good.

If your patch doesn't make it, it's probably for that reason.


cheers,
rob

Bernhard Rosenkraenzer wrote:

>Hello,
>I've made a slight change to http_protocol.c:
>
>diff -u -r apache_1.2b1/src/http_protocol.c apache_1.2b1-patched/src/http_protocol.c
>--- apache_1.2b1/src/http_protocol.c	Sun Dec  1 21:28:31 1996
>+++ apache_1.2b1-patched/src/http_protocol.c	Tue Dec  3 21:19:18 1996
>@@ -1619,7 +1619,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(">",fd);
>+	    bputs(escape_html(r->pool, r->server->server_admin), fd);
>+	    bputs("</A>",fd);
> 	    bputs(" 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);
>
>
>That way, a user gets a mailto: link to the serveradmin address rather
>than just the address. I think it's better that way, but I don't know
>whether or not it is compliant with RFCs.
>
>LLaP
>bero
>
>
>
>


-- 
Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/  

Mime
View raw message