Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 71108 invoked from network); 9 May 2006 19:18:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 19:18:47 -0000 Received: (qmail 75441 invoked by uid 500); 9 May 2006 19:18:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 75425 invoked by uid 500); 9 May 2006 19:18:36 -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 75414 invoked by uid 99); 9 May 2006 19:18:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 12:18:35 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of david@dfoerster.de designates 193.138.181.71 as permitted sender) Received: from [193.138.181.71] (HELO m11s05.vip-server.net) (193.138.181.71) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2006 12:18:35 -0700 Received: from p54a3f419.dip.t-dialin.net ([84.163.244.25]:56292 helo=jupiter.sol) by m11s05.vip-server.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FdXik-0002lG-2U for users@httpd.apache.org; Tue, 09 May 2006 21:18:10 +0200 From: David =?iso-8859-15?q?F=F6rster?= To: users@httpd.apache.org Date: Tue, 9 May 2006 21:18:46 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605092118.49003.david@dfoerster.de> X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Env set by RewriteRule not available in SSI Document X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm trying to set an environment variable with a RewriteRule for later use in a SSI document using this directive in a .htaccess file (the full file is attached below): RewriteRule ^(.+)\.html$ index.shtml [E=TEST:$1,L] Alltough the rewritelog file says "setting env variable 'TEST' to 'org anisation'" the statement in the index.shtml file prints "(none)". Funny is, that if I change the RewriteRule to RewriteRule ^(.+)\.shtml$ index.shtml [E=TEST:$1,L] and call the URL with the shtml extension the variable is set. A variable set directly using SetEnv is available in the SSI document in any case. Adding .html to the INCLUDE output filter doesn't change anything. Any help would be greatly appreciated! David The complete .htaccess file: ================ Options +IncludesNOEXEC AddOutputFilter INCLUDES .shtml AddType text/html .shtml DirectoryIndex index.html Options +FollowSymLinks RewriteEngine On RewriteRule ^(.+)\.html$ index.shtml [E=TEST:$1,L] SetEnv PAGE TEST_2 --------------------------------------------------------------------- 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