aspose file tools*
The moose likes Tomcat and the fly likes default Internal Server Error page in apache http server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "default Internal Server Error page in apache http server" Watch "default Internal Server Error page in apache http server" New topic
Author

default Internal Server Error page in apache http server

kamesh aru
Ranch Hand

Joined: Mar 16, 2002
Posts: 150
where is the default Internal Server Error page in apache http server ?
thanks in advance
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

If you search for 'error' in your httpd.conf file, you should be able to find this section pretty easily:


#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# Putting this all together, we can internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# our collection of by-error message multi-language collections. We use
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_<error>.html.var files by adding the line:
#
# Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# /var/www/error/include/ files and
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
kamesh aru
Ranch Hand

Joined: Mar 16, 2002
Posts: 150
thanks for the response.
for the customization they have specified in the httpd.conf.
i am looking for the error file that is being displayed with out cusomization ?
any idea where this is located ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: default Internal Server Error page in apache http server