Options +FollowSymlinks RewriteEngine on RewriteRule visit/(.*)/$ /logs.php?q=visit&linkfull=$1 RewriteRule go/(.*)/$ /logs.php?q=go&linkcode=$1 RewriteRule link/(.*)/$ /logs.php?q=link&linkid=$1 RewriteRule site/(.*)/$ /logs.php?q=site&linkname=$1 -- Posted via http://www.ruby-forum.com/.