Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 45169 invoked from network); 17 Jun 2004 21:12:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Jun 2004 21:12:30 -0000 Received: (qmail 25787 invoked by uid 500); 17 Jun 2004 21:12:37 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 25771 invoked by uid 500); 17 Jun 2004 21:12:37 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 25756 invoked by uid 99); 17 Jun 2004 21:12:37 -0000 Received: from [192.53.104.1] (HELO as80.astro.ch) (192.53.104.1) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 17 Jun 2004 14:12:37 -0700 Received: from astro.ch (ev6.astro.ch [192.53.104.46]) (authenticated bits=0) by as80.astro.ch (8.12.11/8.12.11) with ESMTP id i5HLC64W015060 for ; Thu, 17 Jun 2004 23:12:06 +0200 Message-ID: <40D20926.7070501@astro.ch> Date: Thu, 17 Jun 2004 23:12:06 +0200 From: Alois Treindl User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.25.0.62; VDF 6.25.0.100 X-Virus-Checked: Checked Subject: [users@httpd] addhandler changes between Apache 1.3 and 2.0 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Background story ---------------- I have upgraded a busy http server from Apache 1.3 to 2.0 and have run into a problem. We run a CGI which handles all requests for html files, by processing them to insert session onformation and other user-dependetn data. In httpd.conf this is done by Action link-translate /cgi/xa.cgi AddHandler link-translate .htm AddHandler link-translate .html We run a multilingual website im 7 languages, and many html pages exist in various languages, usually indicated by the filename, like file_g.htm for german file_e.htm for english etc. Not all files exist in all languages, and the CGI handler has some intelligence built in. if, for example, file_s.htm (spanish) does not exist, it serves the english version with a note saying that translation is missing. Now the description of my problem: ---------------------------------- In Apache 1.3, the handler CGI was also called of the requested html file did not actually exist. This allowed our language-replacement feature. In Apache 2.0 the handler is only called when the requested file actually exists. If a file is missing, the handler CGI is never called, and the regular 'missing document' action is taken. Can someone confirm that such a change of behaviour really exists between 1.3 and 2.0, and is there a way to get the original mode back (handler for *.htm is always called, even if document is missing)? of course there exist other solutions for my language-replacement (Rewrite), but I would first like to know whether the Addhandler logic has really changed, and whether anything can be done about it. Alois --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org