Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 48585 invoked from network); 1 Jun 2005 17:18:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jun 2005 17:18:57 -0000 Received: (qmail 7407 invoked by uid 500); 1 Jun 2005 17:18:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 7390 invoked by uid 500); 1 Jun 2005 17:18:45 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 7365 invoked by uid 99); 1 Jun 2005 17:18:44 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jslive@gmail.com designates 64.233.184.204 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Jun 2005 10:18:42 -0700 Received: by wproxy.gmail.com with SMTP id 67so230874wri for ; Wed, 01 Jun 2005 10:18:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H//Xfvnf2ljPY6JYDzMyYFSsuPefBDpghZIpP7I7rsnZG4xGoEMnPw177/prwaXL9GqVF1m5xpmuOp3yDVnyu3pXNN0vvDr8S09F0p33DKN41KvAIlMf4/oUOivD3NtjGQsakJGhHbbyAq6ENRzBEGIyRzEArvzQca9Rt4yIsqA= Received: by 10.54.61.19 with SMTP id j19mr2074wra; Wed, 01 Jun 2005 10:18:34 -0700 (PDT) Received: by 10.54.61.7 with HTTP; Wed, 1 Jun 2005 10:18:34 -0700 (PDT) Message-ID: Date: Wed, 1 Jun 2005 13:18:34 -0400 From: Joshua Slive Reply-To: Joshua Slive To: users@httpd.apache.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked Subject: Re: [users@httpd] Is it possible to get rid of error_log entry when using ErrorDocument for 404? X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/1/05, Igor Yu. Zhbanov wrote: > Hello! >=20 > // Apache/2.0.53 (Unix) PHP/4.3.10 >=20 > I am using .htaccess to set handler for missing documents. They are not r= eally > missing. It is a trick to have beautiful URLs when generating site conten= t > from a database. > Is there a way to tell Apache from error document that everything is alri= ght > and I don't want a record in error log? You can adjust LogLevel, but that probably isn't smart. If you can express the set of URLs that you want covered by this in a regular expression, then you should use a technique like AliasMatch ^/path/.* /home/bsg/public_html/e/found.php Otherwise, mod_rewrite provides various methods for doing stuff like this. The rewrite guide even has an example for testing if a file exists. Joshua. --------------------------------------------------------------------- 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