[us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
On Tue, 30 Jun 2009 18:33:09 +, Mike -- EMAIL IGNORED wrote: I have (set in /etc/bashrc): echo $HTML_TST aa|bb|cc|dd|ee and I tried: RewriteCond ee %{ENV:HTML_TST} following the documentation that says: Syntax: RewriteCond TestString CondPattern I expected ee to

[us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
On Tue, 30 Jun 2009 22:37:53 +0200, André Warnier wrote: [...] What are you really trying to do ? Can you give a real example ? If you want to use the values of shell-level environment variables, then presumably you set these environment variables somewhere, before you invoke the script

Re: [us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Eric Covener
It would be nice of version RewriteCond could just call a shell script that would return a bool.  The rest would be trivial. I think you're overcomplicating. Read the doc carefully as Andre has pointed out re: where substitution occurs and which side is actually the regex. If you can't get