Htaccess mod rewrite rule
I have url in this format

    http://www.site.com/posts/view/7/12/02/11/something

And i need to rewrite it to be

    http://www.site.com/posts/view.php?view=7
'7' needs to be extracted from first url, other things are not important.
I have written following code:

    RewriteEngine on
    RewriteRule ^posts/view/(.*)/(.*)/(.*)/(.*)/(.*)?$ posts/view.php?view=$1 [L]
and it works on localhost (i know this is probably terribly wrong, but its best i could do), but it does not work online. Could you help me with correct rule, and recommend me some good mod rewrite tutorial?

Htaccess mod rewrite rule
===

I have url in this format

    http://www.site.com/posts/view/7/12/02/11/something

And i need to rewrite it to be

    http://www.site.com/posts/view.php?view=7
'7' needs to be extracted from first url, other things are not important.
I have written following code:

    RewriteEngine on
    RewriteRule ^posts/view/(.*)/(.*)/(.*)/(.*)/(.*)?$ posts/view.php?view=$1 [L]
and it works on localhost (i know this is probably terribly wrong, but its best i could do), but it does not work online. Could you help me with correct rule, and recommend me some good mod rewrite tutorial?
