Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

SetEnv variables renamed by mod_rewrite

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
SetEnv + RewriteCond - I'm triyng to use envirment variables in something like this on SetEnv switch true ^true$ ^.*xxx.*$ /toxxx/ [R,L] ... But this is not..

SetEnv in Apache2 - Hi. I used to include a line like this SetEnv in my apache 1.3 But afaik this module is no longer use in apache2, despite it appears on v2 does anybody know how can i..

Setenv with a dynamic variable - Hi all, I would like to use Setenv directive like this : SetEnv USER_AUTH but the result is (with phpinfo) and not the email. Can someone help me ? Thanks!

SetEnv seems to remember old setting - Hi all, I need to set different values for an variable accessing to a specified I have something like this: Alias /test1/ SetEnv TEST test1 .cgi..

Session variables - Basic session variable. This does not work. The session name and ID are the same on each page. In php.ini: = On Session variable test11 does not transfer to What am I doing wrong? Thanks for the help. ..
Next:  Apache: Make apache require username and password for login  
Author Message
Thomas Mlynarczyk

External


Since: Oct 07, 2007
Posts: 1



(Msg. 1) Posted: Sun Oct 07, 2007 12:56 pm
Post subject: SetEnv variables renamed by mod_rewrite
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: SetEnv variables renamed by mod_rewrite 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]