I am attempting to setup an easy mod_rewrite for formatting "pretty Web addresses". All I want is perfect for something similar to:

http://www.example.com/dir1/dir2/logs?page=12 to tranlate to http://www.example.com/logs/12

Wouldso would my .htaccess rule seem like?

RewriteRule ^/logs/(\d+)$ /dir1/dir2/logs?page=$1