SetEnv variables renamed by mod_rewrite

Hello.

[Context: Apache 2.2.2, PHP 5 / CGI.]
Let's say I set an environment variable in an .htaccess file:

SetEnv Test Okay

Now I request a PHP-page which is redirected internally by mod_rewrite.
I find my Test variable renamed to REDIRECT_Test.

1) Why does mod_rewrite do this?
2) How can I prevent this?

Greetings,
Thomas
Thomas Mlynarczyk [ So, 07 Oktober 2007 17:43 ] [ ID #1838565 ]
Webserver » alt.apache.configuration » SetEnv variables renamed by mod_rewrite

Vorheriges Thema: Redirection problem
Nächstes Thema: Make apache require username and password for login