apache rewrite and &

Giganews Newsgroups
Subject: apache rewrite and &
Posted by:  Jeff (dont_bug_…@all.uk)
Date: Tue, 10 Apr 2007

I have an apache rewrite rule that keys on the "&", and splits out
the key/value pairs. This is in an .htaccess file.

  Unfortunately, some of the values also have "&" in them and these are
escaped as "%26". Apparently by the time Apache reads the rule,  the
%26's have already been converted back to "&"'s.

  I'm looking for away around this. If I put the rewrite rule in the
apache config file instead of .htaccess, would apache read the "%26" or
the "&"? It's a bit hard to get the sysadmin to reconfigure so I want to
know if the plan is viable.

  Jeff

Replies