diff options
author | Dirk-Willem van Gulik <dirkx@apache.org> | 2000-03-14 14:32:08 +0100 |
---|---|---|
committer | Dirk-Willem van Gulik <dirkx@apache.org> | 2000-03-14 14:32:08 +0100 |
commit | b779325522acabcfe64a3e8011c9a42ade358830 (patch) | |
tree | 4a42712ba7c9c41658ba9b0cf9762ae069681607 /docs/conf | |
parent | Take my chance and try to sneak in a very nasty change which (diff) | |
download | apache2-b779325522acabcfe64a3e8011c9a42ade358830.tar.xz apache2-b779325522acabcfe64a3e8011c9a42ade358830.zip |
Nasty backwards compatibility breaking 'fix' to get rid of
ErrorDocument 201 "Some string without a closing quote
case which is just pure ugly. I am _NOT_ going to be offended
if anyone rolls back this patch OR if anyone suggests to have
an ErrorDocument2 which the proper syntax/semantics.
But I thought lets take my chance whilst everyone is still
recovering from the apachecon.
Dw.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84764 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/conf')
-rw-r--r-- | docs/conf/httpd-std.conf | 13 | ||||
-rw-r--r-- | docs/conf/httpd-win.conf | 13 |
2 files changed, 18 insertions, 8 deletions
diff --git a/docs/conf/httpd-std.conf b/docs/conf/httpd-std.conf index ecc0f4b4f8..39004fc5bf 100644 --- a/docs/conf/httpd-std.conf +++ b/docs/conf/httpd-std.conf @@ -723,20 +723,25 @@ AddType application/x-tar .tgz # these come in three flavors # # 1) plain text -#ErrorDocument 500 "The server made a boo boo. -# n.b. the (") marks it as text, it does not get output +#ErrorDocument 500 "The server made a boo boo." # # 2) local redirects #ErrorDocument 404 /missing.html # to redirect to local URL /missing.html -#ErrorDocument 404 /cgi-bin/missing_handler.pl +#ErrorDocument 404 "/cgi-bin/missing_handlder.pl" +# i.e. any string which starts with a '/' and has +# no spaces. # N.B.: You can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://some.other_server.com/subscription_info.html +# i.e. any string whichis a valid URL. # N.B.: Many of the environment variables associated with the original # request will *not* be available to such a script. - +# +# 4) borderline case +#ErrorDocument 402 "http://some.other_server.com/info.html is the place to look" +# treated as case '1' as it has spaces and thus is not a valid URL # # The following directives modify normal HTTP response behavior. # The first directive disables keepalive for Netscape 2.x and browsers that diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 3eca7ef3de..e5f9c1a8ef 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -655,20 +655,25 @@ AddType application/x-tar .tgz # these come in three flavors # # 1) plain text -#ErrorDocument 500 "The server made a boo boo. -# n.b. the (") marks it as text, it does not get output +#ErrorDocument 500 "The server made a boo boo." # # 2) local redirects #ErrorDocument 404 /missing.html # to redirect to local URL /missing.html -#ErrorDocument 404 /cgi-bin/missing_handler.pl +#ErrorDocument 404 "/cgi-bin/missing_handlder.pl" +# i.e. any string which starts with a '/' and has +# no spaces. # N.B.: You can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://some.other_server.com/subscription_info.html +# i.e. any string whichis a valid URL. # N.B.: Many of the environment variables associated with the original # request will *not* be available to such a script. - +# +# 4) borderline case +#ErrorDocument 402 "http://some.other_server.com/info.html is the place to look" +# treated as case '1' as it has spaces and thus is not a valid URL # # The following directives disable keepalives and HTTP header flushes. # The first directive disables it for Netscape 2.x and browsers which |