I've created an RT (#35121) to have a rewrite rule created. However I've
not tried to rewrite based on query strings before. I know this isn't
correct but it's close... anyone have a suggestion for the right syntax?

RewriteBase /
RewriteCond %{QUERY_STRING} q=([^&]*)
RewriteRule ^help$
/results2.html?cx=009650792990864903260%3A-lsdjshi1tu&cof=FORID%3A11&ie=UTF-8&q=%1

Goal is turn a url like this:

    http://search.ubuntu.com/help?os=ubuntu&ver=8.04&q=query

into

    http://search.ubuntu.com/results2.html?cx=009650792990864903260%3A-
lsdjshi1tu&cof=FORID%3A11&ie=UTF-8&q=query

-- 
"Repeat the search online" does not work
https://bugs.launchpad.net/bugs/388750
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to