Off-topic Talk Where overpaid, underworked S2000 owners waste the worst part of their days before the drive home. This forum is for general chit chat and discussions not covered by the other off-topic forums.

php/apache mod_rewrite hackers

Thread Tools
 
Old Jun 22, 2001 | 11:43 AM
  #1  
josh3io's Avatar
Thread Starter
Registered User
25 Year Member
 
Joined: Oct 2000
Posts: 2,584
Likes: 0
From: Mountain View
Default 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?
Reply
Old Jun 24, 2001 | 02:27 AM
  #2  
Takashi KazuMori's Avatar
Registered User
 
Joined: Mar 2001
Posts: 2,993
Likes: 0
From: Unknown
Default

I don't quite understand your question actually ... If you could define it more specifically, maybe I could help you with the configuration.

Reply
Old Jun 24, 2001 | 09:21 AM
  #3  
josh3io's Avatar
Thread Starter
Registered User
25 Year Member
 
Joined: Oct 2000
Posts: 2,584
Likes: 0
From: Mountain View
Default

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.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ToeKneeC
Off-topic Talk
14
Oct 7, 2006 09:31 AM
jasonw
The Corner
12
Jul 6, 2006 03:18 PM
stockae92
Off-topic Talk
25
Apr 14, 2005 04:37 PM
moyopoyo
Off-topic Talk
6
Apr 4, 2002 04:24 PM




All times are GMT -8. The time now is 10:16 AM.