On Thu, Aug 8, 2013 at 8:20 PM, Noah Duffy <[email protected]> wrote: > On Aug 8, 2013, at 7:12 PM, <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
