Rewrite Rule Question / Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an virtual host that is redirecting all requests from port 80 to 443.  However, when doing this when there is an email in the url, for example http://foo.tld/bar.php?email=User%40domain.tld gets redirected to https://foo.tld/bar.php?email=User%2540domain.tld which tends to be a problem.   I understand that %25 == % so I get why it's rewriting the url.  Is there something I am missing or do I have to do some further redirects to prevent them from getting rewritten?

What I currently have on my *:80 hosts is the following and nothing more:

RewriteRule ^(.*)$ https://www.domain.tld/$1




--

Jared Griffith
Linux Administrator, PICS, Inc.
P: (949) 936-4574
C: (909) 653-7814

The Contractors' Choice
17701 Cowan #140 | Irvine, CA | 92614
Join PICS on LinkedIn! 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux