Re: mod_rewrite question

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

 



On Thu, Aug 8, 2013 at 8:20 PM, Noah Duffy <noahduffy@xxxxxxxxxxx> wrote:
> On Aug 8, 2013, at 7:12 PM, <Ward.P.Fontenot@xxxxxxxxxxxxxx> wrote:
>
>> I have the following URL that is no longer valid https://cms.example.com/enterprise/registration/browserinstructions.jsp?productID=100 and I have beat myself silly trying to get it to redirect to the new correct URL https://cms.example.com/enterprise/registration/InternalPersonalCertificates.do?dispatchMethod=requestInternalPersonalCertificate . Any insight would be great, at this point I feel like I can’t see the forest because of the trees.

In the vhost for https://cms.example.com

# likely already there
RewriteEngine on
RewriteCond %{QUERY_STRING} ^productID=100$
RewriteRule ^/enterprise/registration/browserinstructions.jsp$
https://%{HTTP_HOST}/registration/InternalPersonalCertificates.do?dispatchMethod=requestInternalPersonalCertificate
[R]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[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