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
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 / html?cx= 009650792990864 903260% 3A-lsdjshi1tu& cof=FORID% 3A11&ie= UTF-8&q= %1
RewriteCond %{QUERY_STRING} q=([^&]*)
RewriteRule ^help$
/results2.
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= 009650792990864 903260% 3A-lsdjshi1tu& cof=FORID% 3A11&ie= UTF-8&q= query