Can anyone tell me whats wrong with this htaccess code

Posted by mathew on Stack Overflow See other posts from Stack Overflow or by mathew
Published on 2010-05-19T10:40:39Z Indexed on 2010/05/22 7:20 UTC
Read the original article Hit count: 122

Filed under:
|
|

I am not able to get through with this code...I need to capture the request but with this code I am able to redirect but it cannot find the particular search page.

RewriteCond %{THE_REQUEST} ^[A-Z]+\ /searcha\.php\?name=(www\.)?([^/\ ]+)[^\ ]*\ HTTP/ 
RewriteRule ^.*$ http://www.mydomain.com/%2? [R=301,L]

can any one tell me what is I am missing??

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about apache