Can anyone tell me whats wrong with this htaccess code
Posted
by mathew
on Server Fault
See other posts from Server Fault
or by mathew
Published on 2010-05-19T10:44:05Z
Indexed on
2010/05/19
10:50 UTC
Read the original article
Hit count: 220
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??
© Server Fault or respective owner