Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0ACC2947F for ; Thu, 8 Dec 2011 14:59:24 +0000 (UTC) Received: (qmail 34372 invoked by uid 500); 8 Dec 2011 14:59:20 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34337 invoked by uid 500); 8 Dec 2011 14:59:20 -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 34329 invoked by uid 99); 8 Dec 2011 14:59:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 14:59:20 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 24.201.245.36 is neither permitted nor denied by domain of francois.gingras@gmail.com) Received: from [24.201.245.36] (HELO relais.videotron.ca) (24.201.245.36) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 14:59:12 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from [192.168.3.186] ([69.70.151.138]) by VL-VM-MR003.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0LVW00KUH487QOA0@VL-VM-MR003.ip.videotron.ca> for users@httpd.apache.org; Thu, 08 Dec 2011 09:57:44 -0500 (EST) Message-id: <4EE0D0A8.6020202@gmail.com> Date: Thu, 08 Dec 2011 09:58:48 -0500 From: Frank Gingras User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 To: users@httpd.apache.org References: <4EDFDB89.5090501@catseye.org> <4EE0CB42.4010301@catseye.org> In-reply-to: <4EE0CB42.4010301@catseye.org> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: IfModule *rewrite* On 08/12/2011 9:35 AM, Mark Montague wrote: > On December 8, 2011 5:56 , "Helmut Schneider" wrote: >> Do I also need to configure RewriteLog within the VHOST?! Is that also a "Rewrite >> configuration"?! Because only setting RewriteEngine On does not write a logfile... > > Did you read the documentation? > > https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriteengine > > "Context: server config, virtual host" > "The directive should occur only once per server config." > "If the name does not begin with a slash ('|/|') then it is assumed to be relative to the /Server > Root/." > > If you are using RewriteLog in the server context but are not seeing a log file: > > - What is the value you have for RewriteLogLevel? Note that it defaults to 0, but that a value of > 0 will disable all rewrite logging regardless of whether the RewriteLog direcitve is set. To get > rewrite logging, you not only have to set the RewriteLog directive, you also have to set > RewriteLogLevel to something other than 0. > - Are you looking in the right place? (Does the log file name begin with a slash?) > - Does Apache HTTP Server have permission to open and write the log file in the place you have > specified? > - Are there error messages about creating/opening the log file in your web server error log file? > > -- > Mark Montague > mark@catseye.org > > > --------------------------------------------------------------------- > 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 > Also, when using vhosts, you'll need to set RewriteOptions inherit and RewriteEngine on in each vhost you want to apply your rules to. Frank --------------------------------------------------------------------- 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