Something like that?

ReWriteCond %{QUERY_STRING} city=([^&]+)&state=([A-Za-z]+)
RewriteRule
    ^content/meeting-search
    civicrm/contact/search/custom?csid=14&reset=1&%{QUERY_STRING}



Regards



2009/5/5 Mike Steigerwald <mike.steigerw...@publiccomputingservices.org>:
> Hi all,
>
> I'm struggling to learn Rewrite, and I'm weak on regexp in general. Does
> anyone have time to share suggestions for rewriting URLs like:
>
> http://aameetinglocator.org/content/meeting-search?city=Bemidji&state=MN
>
> to
>
> http://aameetinglocator.org/civicrm/contact/search/custom?csid=14&reset=1&city=Bemidji&state=MN
>
> ?
>
> Note that I need to 'keep' city and state using backreference, but I haven't
> even gotten that far yet.
>
> I've tried to follow the examples in the rewrite guide, but after two days
> I'm realizing I need to swallow my pride and reach out for help.
>
> Many thanks in advance for any guidance.
>
> Mike Steigerwald
> Executive Director
> www.PublicComputingServices.org
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to