Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 37222 invoked from network); 5 Jun 2008 13:41:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2008 13:41:05 -0000 Received: (qmail 70165 invoked by uid 500); 5 Jun 2008 13:40:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70149 invoked by uid 500); 5 Jun 2008 13:40:58 -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 70138 invoked by uid 99); 5 Jun 2008 13:40:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 06:40:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Malki.Cymbalista@weizmann.ac.il designates 132.77.4.216 as permitted sender) Received: from [132.77.4.216] (HELO wisegate.weizmann.ac.il) (132.77.4.216) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 13:40:09 +0000 Received: from Wisdomain4-MTA by wisegate.weizmann.ac.il with Novell_GroupWise; Thu, 05 Jun 2008 16:40:25 +0300 Message-Id: <484816F3.17BB.001B.0@weizmann.ac.il> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Thu, 05 Jun 2008 16:40:19 +0300 From: "Malka Cymbalista" To: References: <48467394.60706@itlegion.ru> <48467E1B.1020806@ice-sa.com> <48469CBE.3050805@itlegion.ru> <4847D784.17BB.001B.0@weizmann.ac.il> <6ed6382b0806050621v4013243fo7aded6d2596cf359@mail.gmail.com> In-Reply-To: <6ed6382b0806050621v4013243fo7aded6d2596cf359@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] RewriteEngine directive Thanks for your reply. I actually read the documentation which is where I = learned that I can put Rewrite directives in the directory section. My = question is if there is any way to get around putting =20 RewriteEngine on in each directory section. I have RewriteEngine on in the config file = outside the directory section but this did not seem to be enough and I = had to put it into the specific directory section. --=20 Malka Cymbalista Webmaster, Weizmann Institute of Science malki.cymbalista@weizmann.ac.il 08-934-3036 >>> On 6/5/2008 at 4:21 PM, in message <6ed6382b0806050621v4013243fo7aded6d2596cf359@mail.gmail.com>, "Krist van Besien" wrote: > On Thu, Jun 5, 2008 at 11:09 AM, Malka Cymbalista > wrote: >> If I want to put Rewrite directives into specific sections, = do I=20 > have to put the RewriteEngine directive into each of the sections or can = I=20 > put it somewhere else in the configuration file where I will not have = to=20 > repeat it in each directory section. >> Thanks for any help. >=20 > In the documentation > (http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriteengine) > it says, for RewriteEngine: >=20 > "Context: server config, virtual host, directory, .htaccess" >=20 > So you can put it in your server config or virtual host. >=20 > General hint: If you are not sure where you can use a directive, > consult the apache documentation. >=20 > Krist --------------------------------------------------------------------- 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