Forum Moderators: phranque
I'd suggest using
RewriteEngine on
Options +FollowSymLinks
RewriteRule \.html$ /keywords.php [L]
As long as you use a local path as the target of the rewrite, and do not use the [R] flag, the rewrite will be transparent to all user-agents.
Jim
Have you done your homework? - Introduction to mod_rewrite [webmasterworld.com]
For use in .htaccess:
RewriteRule ^(.*)\.pl$ /cgi-bin/search.pl?q=$1 [L]
Jim