Are the links outputted by your script as they should look like after a mod_rewrite?

im my .htaccess I do something similar

#RewriteRule ^directory/(.*)/(.*)\.html$ show.html?id=$1 [NC,L,QSA]

this maps the URL http://www.domain.com/directory/Keyword1/Keyword2.html to http://www.domain.com/show.html?id=Keyword1 (keyword2 I do omit)

However my script must produce a link like http://www.domain.com/directory/twinks/rimming.html in order for mod_rewrite to function correctly.



DEV...