Hi guys, I 've just finished mod_rewriting PunBB, although it is not he way you want : I 've chosen to rewrite "viewforum-1.html" instead of viewforum.php?id=1 for example.
If you want to see it in action go to http://www.babouk.net/forums/ (it is still under construction but i don't think you'll care)
If you have mod_rewrite activated here's the code to put in your .htaccess
--------------------------------------------------------------------
RewriteEngine on
RewriteRule ^viewforum-([0-9]+)\.html$ /punbb/viewforum.php?id=$1[L]
RewriteRule ^viewtopic-([0-9]+)\.html$ /punbb/viewtopic.php?id=$1[L]
RewriteRule ^viewtopicp-([0-9]+)\.html$ /punbb/viewtopic.php?pid=$1[L]
RewriteRule ^profile-([0-9]+)\.html$ /punbb/profile.php?id=$1[L]
---------------------------------------------------------------------
Of couse "punbb" is the name of the directory you've installed Punbb in.
Beware bas use of mod_rewrite can crash the server, As soon as I can I 'll post a tutorial.