php/apache mod_rewrite hackers
how can i get my RewriteCond to recognize an apache note set by a php script? %{note_name}n is what i use to get it into the log, but neither that nor %{ENV:note_name} seems to work. any ideas?
i have a php script called in a previous RewriteRule that sets calls apache_note() and creates a note named php_user. I want to be able to pass that apache note to another RewriteRule.
to get the apache note to my CustomLog, i write %{php_user}n but that does not work for a rewriterule. the manual says that specifying %{ENV:Php_user} should work, but it doesn't.
for now i just stopped using the rewrite rule and hacked it into my script. it's for some third party software that we're implementing.
to get the apache note to my CustomLog, i write %{php_user}n but that does not work for a rewriterule. the manual says that specifying %{ENV:Php_user} should work, but it doesn't.
for now i just stopped using the rewrite rule and hacked it into my script. it's for some third party software that we're implementing.
Thread
Thread Starter
Forum
Replies
Last Post




