httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong Wang <hw...@haverford.edu>
Subject Re: how to modify internal server error message
Date Wed, 24 Apr 2002 15:43:30 GMT
Thanks very much

hong


At 09:04 AM 4/23/02 -0600, you wrote:
>http://httpd.apache.org/docs-2.0/mod/core.html#errordocument
>
>says
>
>URLs can begin with a slash (/) for local URLs, or be a full URL which the 
>client can resolve. Alternatively, a message can be
>provided to be displayed by the browser. Examples:
>
>ErrorDocument 500 http://foo.example.com/cgi-bin/tester
>ErrorDocument 404 /cgi-bin/bad_urls.pl
>ErrorDocument 401 /subscription_info.html
>ErrorDocument 403 "Sorry can't allow you access today"
>
>
>
>----- Original Message -----
>From: "Brian Quinn" <brian@az511.com>
>To: <users@httpd.apache.org>; <users@httpd.apache.org>
>Sent: Tuesday, April 23, 2002 8:32 AM
>Subject: Re: how to modify internal server error message
>
>
> > do these files need to live in the Document Root, or can it be a
> > sub-directory of root
> >
> >
> > Brian
> >
> >
> > At 05:23 PM 4/22/2002 -0400, Joshua Slive wrote:
> > >Hong Wang wrote:
> > >>I checked httpd.conf. Unfortunately, There is no any file related the 500
> > >>internal server error.
> > >
> > >That's right.  You need to add the file yourself.  If you add the
> > >following to your httpd.conf configuration:
> > >
> > >ErrorDocument 500 /500error.html
> > >
> > >Then you can place a file called 500error.html in your DocumentRoot which
> > >will be served for "internal server errors".
> > >
> > >Joshua.
> > >
> > >
> > >
> > >---------------------------------------------------------------------
> > >The official User-To-User support forum of the Apache HTTP Server Project.
> > >See <URL:http://httpd.apache.org/userslist.html> for more info.
> > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org

Hong Wang
Academic Computing Center
610-896-1046


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message