Strange behaviour of ErrorDocument 500

This is a discussion on Strange behaviour of ErrorDocument 500 within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all. I have an IBM HTTPServer 2.0.47 attacking a WebSphere. Server version: IBM_HTTP_Server/2.0.47.1-...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-18-2006
jabenza@gmail.com
 
Posts: n/a
Default Strange behaviour of ErrorDocument 500

Hi all.

I have an IBM HTTPServer 2.0.47 attacking a WebSphere.

Server version: IBM_HTTP_Server/2.0.47.1-PK29827 Apache/2.0.47

I've configured ErrorDocument 500 in a virtualhost. Here's the
virtualhost configuration:

Listen cndir.lig.local:92
<VirtualHost cndir.lig.local:92>
ServerName cndir.lig.local
RewriteEngine on
RewriteRule ^/$ /Test [R,L]

ErrorDocument 500 /Test/error/errormantenimiento.htm

ErrorDocument 400 /Test/error/error404.jsp
ErrorDocument 404 /Test/error/error404.jsp
DocumentRoot /opt/IBMIHS/htdocs/integracion_vhost/
ErrorLog /opt/IBMIHS/logs/integracion_vhost/error.log
CustomLog /opt/IBMIHS/logs/integracion_vhost/access.log combined
<Directory /opt/IBMIHS/htdocs/integracion_vhost>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_acess.c>
Order allow,deny
Allow from all
#Deny from all
</IfModule>
</Directory>
</VirtualHost>


My problem is, if I shut down the WebSphere server, I get an error 500
message in error.log, and the error page configured in the
ErrorDocument rule, but if I just force an error 500 to appear by
mistyping an URL, what I get is a 500 entry in the access.log, and the
code returned by the server.

10.194.100.240 - - [18/Dec/2006:15:25:45 +0100] "GET
/OficinaVirtual/capturaRiesgoAutos.do?reqCode=capturaDato&deleteSe ssion=true
HTTP/1.1" 500 81 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322)"

It's as if the won't recognize an error 500 returned by the server as
an error. It thinks it's just a normal answer, and so does not apply
the ErrorDocument directive to it.

Any ideas about what's happening here?

  #2 (permalink)  
Old 12-20-2006
jabenza@gmail.com
 
Posts: n/a
Default Re: Strange behaviour of ErrorDocument 500

So, no one has advice for me?

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:01 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0