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 E265770BC for ; Wed, 7 Dec 2011 21:27:07 +0000 (UTC) Received: (qmail 48890 invoked by uid 500); 7 Dec 2011 21:27:04 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 48867 invoked by uid 500); 7 Dec 2011 21:27:04 -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 48859 invoked by uid 99); 7 Dec 2011 21:27:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 21:27:04 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache-users@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 21:26:55 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RYP0d-0002bA-4I for users@httpd.apache.org; Wed, 07 Dec 2011 22:26:35 +0100 Received: from p5dcd7083.dip.t-dialin.net ([93.205.112.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Dec 2011 22:26:35 +0100 Received: from jumper99 by p5dcd7083.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Dec 2011 22:26:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@httpd.apache.org From: "Helmut Schneider" Date: Wed, 7 Dec 2011 21:26:21 +0000 (UTC) Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd7083.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:00000226 X-Antivirus: avast! (VPS 111207-1, 07.12.2011), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] IfModule *rewrite* Hi, I put the following lines into my apache.conf (outside, before a VHOST definition): RewriteEngine on RewriteLog /var/www/logs/rewrite.log RewriteLogLevel 2 (I also tried mod_rewrite and rewrite_module) Unfortunatly it seems it does not work. But if I define the same lines within a VHOST it *does* work. Why? Anything obvious? And yes, the modules *are* loaded *before* the first IfModule statement. ~$ lsb_release -irs Ubuntu 10.04 ~$ apache2 -v Server version: Apache/2.2.14 (Ubuntu) Server built: Nov 3 2011 03:30:19 ~$ Thanks, Helmut --------------------------------------------------------------------- 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