Apache redirect rule from url to querystring

Posted by Shashi Bhushan on Stack Overflow See other posts from Stack Overflow or by Shashi Bhushan
Published on 2010-06-01T15:48:26Z Indexed on 2010/06/01 15:53 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

I am not able to write rewriterule for this pattern

RewriteRule   ^/search/([^/]*)      /search?q=$1

when i try, it give following error: The requested resource (/search/shashi) is not available.

Means, the httpd is not able to rewrite the rule.

I don't know where i am wrong.

Please suggest.

© Stack Overflow or respective owner

Related posts about apache

Related posts about rewriterule