Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 49060 invoked from network); 13 Dec 2004 21:49:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Dec 2004 21:49:13 -0000 Received: (qmail 73244 invoked by uid 500); 13 Dec 2004 21:48:48 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 73225 invoked by uid 500); 13 Dec 2004 21:48:48 -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 73209 invoked by uid 99); 13 Dec 2004 21:48:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail2.kontent.de (HELO Mail2.KONTENT.De) (81.88.34.59) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Dec 2004 13:48:44 -0800 Received: from mail.michaeli-gymnasium.de (p3EE1EE62.dip.t-dialin.net [62.225.238.98]) by Mail2.KONTENT.De (Postfix) with ESMTP id 479FB388059 for ; Mon, 13 Dec 2004 22:48:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.michaeli-gymnasium.de (Postfix) with ESMTP id 4C69013CF7 for ; Mon, 13 Dec 2004 22:48:39 +0100 (CET) Received: from mail.michaeli-gymnasium.de ([192.168.2.194]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06239-03 for ; Mon, 13 Dec 2004 22:48:35 +0100 (CET) Received: from MEDIONPC (trinity.michaeli-gymnasium.de [192.168.2.194]) by mail.michaeli-gymnasium.de (Postfix) with ESMTP id B262813CEC for ; Mon, 13 Dec 2004 22:48:34 +0100 (CET) Message-ID: <007301c4e15d$9a698030$0100a8c0@MEDIONPC> From: "Ralf Glauberman" To: References: <005601c4e136$c33d3af0$c5b12250@NODOCASA> Date: Mon, 13 Dec 2004 22:49:18 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at michaeli-gymnasium.de X-Virus-Checked: Checked Subject: Re: [users@httpd] ErrorDocument 403 and so doe'nt redirect properly X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi, just one idea, but is it for sure that apache will be able to know which vhost is active in an error-condition? i think it could be possible that apache wants absolute pathes here because it isn't sure if it will always be able to know the right vhost. correct me, if i'm wrong. ralf ----- Original Message ----- From: Gare To: users@httpd.apache.org Sent: Monday, December 13, 2004 5:49 PM Subject: [users@httpd] ErrorDocument 403 and so doe'nt redirect properly My problem is that ErrorDocument doesn't redirect to the page I've configure in httpd.conf if I don't use a absolute URL. My Apache server manage several virtual hosts, I have error page 404 redirect to /error/404.htm. That's in the main section of httpd.conf I wrote: ErrorDocument 400 /error/400.htm ErrorDocument 401 /error/401.htm ErrorDocument 402 /error/402.htm ErrorDocument 403 /error/403.htm ErrorDocument 404 /error/404.htm ErrorDocument 500 /error/500.htm Error 404 (page not faound) works right, but 403 or 500 go to defaul pages. But if I put ErrorDocument 403 http://mydomain.com/error/403.htm then page 403 is redirected to the correct page. I've tried to write the ErrorDocument configuration sentences inside virtual host directive, but the problem is the same. (Apache 1.3.3) Any idea of where is my mistake? --------------------------------------------------------------------- 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