httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] mod_rewrite question
Date Fri, 09 Aug 2013 02:08:53 GMT
On Thu, Aug 8, 2013 at 8:20 PM, Noah Duffy <noahduffy@fastmail.fm> wrote:
> On Aug 8, 2013, at 7:12 PM, <Ward.P.Fontenot@wellsfargo.com> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message