Could someone help me where the & is comming from ? I’ve tried RewriteRules and the outcome is the same.
Thanks ! > On 18 May 2018, at 11:28, David Tkacik <dtka...@healthcoachinstitute.com> > wrote: > > Hello Guys, > > I have a condition like this: > > RedirectMatch ^/g/(.*) https > <https://www.${apache_hostname}/folder1/?ec=$1&ea=EBH&el=GCC>: > <https://www.${apache_hostname}/folder1/?ec=$1&ea=EBH&el=GCC>//www.${APACHE_HOSTNAME}/folder1/?ec=$1&ea=EBH&el=GCC > <https://www.${apache_hostname}/folder1/?ec=$1&ea=EBH&el=GCC> > So when I do CURL to that virtualhost running that condition like this > https://www.example.com/g/1234 <https://www.example.com/g/1234> > it gives me back this: > > https://www.example.com/folder1/?ec=1234&ea=EBH&el=GCC > <http://www.example.com/folder1/?ec=1234&ea=EBH&el=GCC> > Is there a way to escape this ? Why it's substituting the "& ;" ? > > Many Thanks ! > > David