Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 18153 invoked by uid 6000); 17 Apr 1999 15:25:28 -0000 Received: (qmail 18143 invoked from network); 17 Apr 1999 15:25:22 -0000 Received: from deimos.worldonline.nl (195.241.48.136) by taz.hyperreal.org with SMTP; 17 Apr 1999 15:25:22 -0000 Received: from worldonline.nl ([194.151.142.229]) by deimos.worldonline.nl (8.8.5/8.8.5) with ESMTP id RAA18428 for ; Sat, 17 Apr 1999 17:25:12 +0200 (MET DST) Message-ID: <3718C0A3.9F156867@worldonline.nl> Date: Sat, 17 Apr 1999 14:10:59 -0100 From: tser X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: new-httpd@apache.org Subject: Apache on Win98 / with MSVC++ 6? using nmake / Crash questions. /handler not found, not report 404 imediatly References: <37127685.3D92CE28@Golux.Com> <3712d6a3.13394096@smtp.dial.pipex.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org I today compiled the apache on a win98 / Visual studio 6 machine. I used nmake, not the GUi, to compile the source, and it went OK. (expect tons of Signification lost "here and there" warningmessages) It runs's fine & fast and a standard - no modifications - runs reliable also. I placed my own module in the core, and tried to recompile it, and after some error digging, Finaly, the module worked inside. Apache -l bravely showed my module (yes, i was happy :o)) I trow up the handler, and made a typo which brings me to the first question. In my error log, i got the following output : [Sat Apr 17 14:24:20 1999] [warn] [client 127.0.0.1] handler "chatshow" not found for: e:/w/apache/htdocs/chat [Sat Apr 17 14:24:20 1999] [error] [client 127.0.0.1] File does not exist: e:/w/apache/htdocs/chat That looks like that, if the handler does not exist, apache tries to find the real location of the URL. I created a directory at e:/w/apache/htdocs/chat and Indeed, Apache then shows that directory. Without posting *any* message in the error.log, not even a warning. about the handler. isn't it safer to report directly a 404 Error, insteed of trying to lookup the file location of your not-availeble handler ? And Reporting an Error, Rather then a warning ? e.g :[error] Handler not found The Second Thing i walked up, was a Crash in apache, (in my own module, don't worry :o)), It popud up with a well-known Windows-Crash Window, Asking me for input (eg, do you want to debug, ok..etc). It was pretty cool apache continued to life !, But i was wondering if anybody knows how to supress that window, and just write in the errorlog, that a thread died. You know, if oneday, a real bug is found, and spread among the net like fire, i don't want to see my screen full of CrashWindows :o) Regards, Reinder Kraaij