Posted by balaji on 02/02/06 12:35
hi hru? im balaji. i have one big problem. Full details of
mod_rewrite() value in php with sample example give(plz) me. now one
small idea but most of process i can undrstand plz help me. plz tell me
soon .
namemattersnot@msn.com wrote:
> ok. i give up. need help :)
>
> here's the rule:
>
> RewriteRule ^test/(.+)/(.*)$ /index.php$2
>
> if i request: http://localhost/test/keyword/?show=files it properly
> redirects me.
>
> NOW, if i change the rule to: RewriteRule ^test/(.+)/(.*)$
> /index.php$2&key=$1
> it stops working.
>
> i figured out that if i remove ? from $show=files and change the rule
> to redirect to /index.php?$2, then i can use &key=$1. but i want to
> figure out how to redirect the ?show=files request AND at the end add
> &key=$1
>
> thanks in advance!
Navigation:
[Reply to this message]
|