Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Do the apache docs have a full list of these variables? Or is there some way that I can find out what they are in apache? The variables are things like %{Referer} and %{User-agent}.

share|improve this question
    
Variables allowed in RewriteCond are not the same thing as environment variables. Which one are you interested in? – Shane Madden Jun 28 '12 at 1:06
    
I'm interested in environment variables. – jersten Jun 28 '12 at 2:07

Dave from addedbytes wrote this great cheatsheet: http://www.addedbytes.com/cheat-sheets/mod_rewrite-cheat-sheet/

share|improve this answer
    
There are some here but some are missing httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritecond – jersten Jun 27 '12 at 15:37
1  
This is what I wanted: zytrax.com/tech/web/env_var.htm There is no official docs however. – jersten Jun 27 '12 at 15:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.